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.
1 parent 450bae0 commit 8af3591Copy full SHA for 8af3591
compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala
@@ -352,7 +352,7 @@ class ReifyQuotes extends MacroTransform {
352
case tp @ TypeRef(NoPrefix, _) if capturers.contains(tp.symbol) =>
353
// reference to term with a type defined in outer quote
354
getTypeHoleType(tp)
355
- case tp @ TermRef(NoPrefix, _) /*if capturers.contains(tp.symbol)*/ => // TODO needs the guard?
+ case tp @ TermRef(NoPrefix, _) if capturers.contains(tp.symbol) =>
356
// widen term refs to terms defined in outer quote
357
apply(tp.widenTermRefExpr)
358
case tp =>
0 commit comments