Inferred generic type in macro is inconsistent between Scala 2.13 and Scala 3 #23029
Labels
area:metaprogramming:quotes
Issues related to quotes and splices
area:variance
Issues related to covariance & contravariance.
itype:bug
regression:scala2
Compiler version
3.6.3
3.7.0-RC3
Minimized code
https://github.com/andrzejressel/generic-type-in-macro-bug-report
Output
Scala 2.13
Scala 3
Expectation
I would expect them to look the same - in my case the issue is with
Wrapper contravariant type
losing type in Scala 3.The text was updated successfully, but these errors were encountered: