Skip to content

Commit f674c18

Browse files
committed
Reclassify test
This was deemed too hard before for type inference, but it works now.
1 parent 12d2e20 commit f674c18

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

tests/neg/i7056.check

Lines changed: 0 additions & 18 deletions
This file was deleted.

tests/neg/i7056.scala renamed to tests/pos/i7056.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ given [T <: A](using PartialId[T]): T1[T] = new T1[T] {
1616
given PartialId[B] = ???
1717

1818
val x: B = ???
19-
val z = x.idnt1 // error
19+
val z = x.idnt1 // used to be an error, now ok
20+

0 commit comments

Comments
 (0)