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
There are a lot of tickets about things which can't be reified so this could easily be a duplicate, but I don't see the right one, so:
scala> reflect.runtime.universe.reify { traitFoo { vala:Int } }
<console>:8:error: exception during macro expansion:
java.lang.Error:unexpected: bound typethat doesn't have a tpe: Ident(newTypeName("Int"))
at scala.reflect.reify.codegen.GenTrees$class.reifyBoundType$1(GenTrees.scala:154)
at scala.reflect.reify.codegen.GenTrees$class.reifyBoundType(GenTrees.scala:203)
at scala.reflect.reify.codegen.GenTrees$class.reifyTree(GenTrees.scala:56)
at scala.reflect.reify.Reifier.reifyTree(Reifier.scala:14)
at scala.reflect.reify.phases.Reify$$anonfun$reify$1.apply(Reify.scala:46)
There are a lot of tickets about things which can't be reified so this could easily be a duplicate, but I don't see the right one, so:
No complaints about an abstract def:
The text was updated successfully, but these errors were encountered: