Misbehavior of macro-generated match when matching case object with lowercase name #20350
Labels
area:inline
area:metaprogramming:quotes
Issues related to quotes and splices
itype:bug
Spree
Suitable for a future Spree
Compiler version
3.3.3
Minimized code
repro.scala
repro.test.scala
Output
Expectation
When
case object
with lowercased names is used match seem to fall through on the firstcase
. For the same macro code the behavior is correct if the name of case object starts with an upper case.I haven't observed such issue with
enum
s.The text was updated successfully, but these errors were encountered: