Skip to content

Commit 8af3591

Browse files
committed
wip
1 parent 450bae0 commit 8af3591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/ReifyQuotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ class ReifyQuotes extends MacroTransform {
352352
case tp @ TypeRef(NoPrefix, _) if capturers.contains(tp.symbol) =>
353353
// reference to term with a type defined in outer quote
354354
getTypeHoleType(tp)
355-
case tp @ TermRef(NoPrefix, _) /*if capturers.contains(tp.symbol)*/ => // TODO needs the guard?
355+
case tp @ TermRef(NoPrefix, _) if capturers.contains(tp.symbol) =>
356356
// widen term refs to terms defined in outer quote
357357
apply(tp.widenTermRefExpr)
358358
case tp =>

0 commit comments

Comments
 (0)