We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f4f35e1 + 9895613 commit abaf47eCopy full SHA for abaf47e
compiler/src/dotty/tools/dotc/typer/QuotesAndSplices.scala
@@ -81,6 +81,7 @@ trait QuotesAndSplices {
81
if (c.owner eq c.outer.owner) markAsMacro(c.outer)
82
else if (c.owner.isInlineMethod) c.owner.setFlag(Macro)
83
else if (!c.outer.owner.is(Package)) markAsMacro(c.outer)
84
+ else assert(false) // Did not find inline def to mark as macro
85
markAsMacro(ctx)
86
}
87
typedApply(untpd.Apply(untpd.ref(defn.InternalQuoted_exprSplice.termRef), tree.expr), pt)(spliceContext).withSpan(tree.span)
0 commit comments