Skip to content

Commit

Permalink
Reproduce optics-dev#1306
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge committed Oct 11, 2022
1 parent dd614a4 commit f5b5d9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions core/shared/src/test/scala-3.x/monocle/focus/i1306.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
package monocle.focus.i1306

trait Qux

object Foo {

opaque type Bar = Qux

case class Baz(id: String)
object Baz {
implicit val bazId: monocle.Lens[Foo.Baz, String] = new monocle.Focus.MkFocus[Foo.Baz].apply(_.id)
}

}

0 comments on commit f5b5d9a

Please sign in to comment.