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
// Interpret call to `new myAnnot(..).transform(using <Quotes>)(<tree>)`
56
-
valtransformedTrees=
57
-
try callMacro(macroInterpreter, tree, annot)
58
-
catch
59
-
// TODO: Replace this case when scala.annaotaion.MacroAnnotation is no longer experimental and reflectiveSelectable is not used
60
-
// Replace this case with the nested cases.
61
-
caseex0: InvocationTargetException=>
62
-
ex0.getCause match
63
-
caseex: scala.quoted.runtime.StopMacroExpansion=>
64
-
if!ctx.reporter.hasErrors then
65
-
report.error("Macro expansion was aborted by the macro without any errors reported. Macros should issue errors to end-users when aborting a macro expansion with StopMacroExpansion.", annot.tree)
// TODO: Replace this case when scala.annaotaion.MacroAnnotation is no longer experimental and reflectiveSelectable is not used
99
+
// Replace this case with the nested cases.
100
+
caseex0: InvocationTargetException=>
101
+
ex0.getCause match
102
+
caseex: scala.quoted.runtime.StopMacroExpansion=>
103
+
if!ctx.reporter.hasErrors then
104
+
report.error("Macro expansion was aborted by the macro without any errors reported. Macros should issue errors to end-users when aborting a macro expansion with StopMacroExpansion.", annot.tree)
0 commit comments