diff --git a/tests/pos/i12178.scala b/tests/pos/i12178.scala index 4247ad92301b..b2c97b44f0fc 100644 --- a/tests/pos/i12178.scala +++ b/tests/pos/i12178.scala @@ -20,5 +20,5 @@ extension[TLabel <: Singleton & String, TValue] (labelTagged: LabelTagged[TLabel @main def hello(): Unit = { val foo: LabelTagged["foo", Int] = LabelTagged("foo", 10) println(label(foo)) // OK - //println(foo.label) // not OK + println(foo.label) // was error, now OK }