File tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/transform
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
145
145
def inSplice = outer != null && ! inQuote
146
146
147
147
/** We are not in a `~(...)` or a `'(...)` */
148
- def isRoot = outer ! = null
148
+ def isRoot = outer = = null
149
149
150
150
/** A map from type ref T to expressions of type `quoted.Type[T]`".
151
151
* These will be turned into splices using `addTags` and represent type variables
@@ -294,7 +294,7 @@ class ReifyQuotes extends MacroTransformWithImplicits with InfoTransformer {
294
294
else i " ${sym.name}.this "
295
295
if (! isThis && sym.maybeOwner.isType && ! sym.is(Param ))
296
296
check(sym.owner, sym.owner.thisType, pos)
297
- else if (level == 1 && sym.isType && sym.is(Param ) && sym.owner.is(Macro ) && outer.isRoot)
297
+ else if (level == 1 && sym.isType && sym.is(Param ) && sym.owner.is(Macro ) && ! outer.isRoot)
298
298
importedTags(sym.typeRef) = capturers(sym)(ref(sym))
299
299
else if (sym.exists && ! sym.isStaticOwner && ! levelOK(sym))
300
300
for (errMsg <- tryHeal(tp, pos))
You can’t perform that action at this time.
0 commit comments