Skip to content

Commit cb2df55

Browse files
Merge pull request #13210 from griggt/fix-12178
Fix #12178: Add regression test
2 parents 49d7399 + 3d1559d commit cb2df55

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)