Skip to content

Commit c2073c6

Browse files
authored
Merge pull request #8285 from dotty-staging/fix-#8284
Fix #8284: Test case
2 parents 50d685e + ffbef58 commit c2073c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/pos/i8284.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
type Foo
2+
given myFoo1 as (Foo { type X = Int }) = ???
3+
4+
type Bar = Foo { type X = Int }
5+
given myFoo2 as Bar = ???

0 commit comments

Comments
 (0)