Skip to content

Commit 63e491a

Browse files
authored
Merge pull request #3635 from dotty-staging/fixed-from-tasty-2
Add regression tests for #3462 and #3607
2 parents 7848ef6 + 01dad1a commit 63e491a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

tests/pos-from-tasty/i3462.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package foo
2+
class Foo(a: Int) extends AnyVal

tests/pos-from-tasty/i3607.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
object A { implicit val x: Int = 1 }
2+
3+
object Test1 {
4+
import A.{x => y}
5+
implicitly[Int]
6+
}

0 commit comments

Comments
 (0)