Skip to content

Commit 01bab0f

Browse files
authored
Merge pull request #5741 from dotty-staging/fix-#4566
Fix #4566: Add regression test
2 parents cd52ec0 + 5dd79b2 commit 01bab0f

File tree

1 file changed

+5
-0
lines changed
  • compiler/test-resources/repl

1 file changed

+5
-0
lines changed

compiler/test-resources/repl/i4566

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
scala> object test { type ::[A, B]; def a: Int :: Int = ???; def b: Int = a }
2+
1 | object test { type ::[A, B]; def a: Int :: Int = ???; def b: Int = a }
3+
| ^
4+
| Found: Int :: Int
5+
| Required: Int

0 commit comments

Comments
 (0)