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
[error] /home/sast/projects/scala/scratch/src/main/scala/scratch/MacroErasure.scala:9: double definition:
[error] macro method app:[A](f: A => Any, x: Any)Any and
[error] macro method app:(f: Any => Any, x: Any)Any at line 8
[error] have same type after erasure: (f: Function1, x: Object)Object
[error] def app[A](f: A => Any, x: Any): Any = macro MacroErasure.appMacroA[A]
[error] ^
Can two macros really have the same type "after erasure"? Given that they are expanded at runtime, can this actually cause problems?
The text was updated successfully, but these errors were encountered:
Compilation of the following fails:
The error message is:
Can two macros really have the same type "after erasure"? Given that they are expanded at runtime, can this actually cause problems?
The text was updated successfully, but these errors were encountered: