diff --git a/tests/pos-from-tasty/i3462.scala b/tests/pos-from-tasty/i3462.scala new file mode 100644 index 000000000000..addddfa4de64 --- /dev/null +++ b/tests/pos-from-tasty/i3462.scala @@ -0,0 +1,2 @@ +package foo +class Foo(a: Int) extends AnyVal diff --git a/tests/pos-from-tasty/i3607.scala b/tests/pos-from-tasty/i3607.scala new file mode 100644 index 000000000000..8428f208e7c1 --- /dev/null +++ b/tests/pos-from-tasty/i3607.scala @@ -0,0 +1,6 @@ +object A { implicit val x: Int = 1 } + +object Test1 { + import A.{x => y} + implicitly[Int] +}