You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this when trying to upgrade the Dotty version used in scala/compiler-benchmark
I was upgrading to 0.8.0-RC1.
[error] Ident(SampleTime) (of class dotty.tools.dotc.ast.Trees$Ident)
scala.MatchError: Ident(SingleShotTime) (of class dotty.tools.dotc.ast.Trees$Ident)
at dotty.tools.backend.jvm.DottyBackendInterface.emitArgument(DottyBackendInterface.scala:246)
at dotty.tools.backend.jvm.DottyBackendInterface.emitArgument$$anonfun$3(DottyBackendInterface.scala:291)
at scala.compat.java8.JProcedure1.apply(JProcedure1.java:18)
at scala.compat.java8.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.immutable.List.foreach(List.scala:389)
at dotty.tools.backend.jvm.DottyBackendInterface.emitArgument(DottyBackendInterface.scala:292)
at dotty.tools.backend.jvm.DottyBackendInterface.emitAssocs$$anonfun$2(DottyBackendInterface.scala:328)
at scala.compat.java8.JProcedure1.apply(JProcedure1.java:18)
at scala.compat.java8.JProcedure1.apply(JProcedure1.java:10)
at scala.collection.TraversableLike$WithFilter.$anonfun$foreach$1(TraversableLike.scala:789)
at scala.collection.immutable.List.foreach(List.scala:389)
at scala.collection.TraversableLike$WithFilter.foreach(TraversableLike.scala:788)
at dotty.tools.backend.jvm.DottyBackendInterface.emitAssocs(DottyBackendInterface.scala:
A workaround is use Select-s rather than Ident-s in runtime-retained annotation arguments.
I noticed this when trying to upgrade the Dotty version used in scala/compiler-benchmark
I was upgrading to 0.8.0-RC1.
A workaround is use
Select
-s rather thanIdent
-s in runtime-retained annotation arguments.The text was updated successfully, but these errors were encountered: