assertion failed: class Array while introspecting Array[Byte] in a macro #21916
Labels
area:metaprogramming:other
Issues tied to metaprogramming/macros not covered by the other labels.
itype:bug
itype:crash
I had a feeling like we already reported this, but can't find anything.
The compiler fails while
izumi-reflect
introspectsArray[Byte]
with an obscure stacktrace:Here is the repro: https://scastie.scala-lang.org/3P7O5JyuSaaEzHQ9WUGoGQ
It fails on any Scala 3 version.
It looks like it's a compiler bug as it only happens with Arrays. If we improperly use the API, the diagnostic message should be improved, at the moment it's completely misleading.
Once this is resolved, zio/izumi-reflect#474 might be closed and the bounty should remain unclaimed.
The text was updated successfully, but these errors were encountered: