Skip to content

Commit 3d1559d

Browse files
committed
Add regression test for scala#12178
1 parent f322a22 commit 3d1559d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/i12178.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ extension[TLabel <: Singleton & String, TValue] (labelTagged: LabelTagged[TLabel
2020
@main def hello(): Unit = {
2121
val foo: LabelTagged["foo", Int] = LabelTagged("foo", 10)
2222
println(label(foo)) // OK
23-
//println(foo.label) // not OK
23+
println(foo.label) // was error, now OK
2424
}

0 commit comments

Comments
 (0)