Closed som-snytt closed 6 months ago
aha
scala 2.13.12-20230817-134032-acab4f6> 42
val res0: Int = 42
scala 2.13.12-20230817-134032-acab4f6> class C { def match = 42 }
^
error: identifier expected but 'match' found.
scala 2.13.12-20230817-134032-acab4f6> class C { def `match` = 42 }
class C
scala 2.13.12-20230817-134032-acab4f6>
I reopened when I realized lrytz's PR had no ticket. It simplifies my local bookkeeping.
If it needs to be said, by "stateful" weirdness, I did not mean "magisterial".
Reproduction steps
Problem
Explain how the above behavior isn't what you expected.
Well, explain to me how that could possibly be expected.