Skip to content

Commit be3ce46

Browse files
committed
Simplify type variables instantiation after implicit search
1 parent 9cea198 commit be3ce46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/scala/quoted/runtime/impl/QuotesImpl.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2400,7 +2400,7 @@ class QuotesImpl private (using val ctx: Context) extends Quotes, QuoteUnpickler
24002400
// Make sure that we do not have any uninstantiated type variables.
24012401
// See tests/pos-macros/i16636.
24022402
// See tests/pos-macros/exprSummonWithTypeVar with -Xcheck-macros.
2403-
implicitTree.foreachSubTree(tree => dotc.typer.Inferencing.fullyDefinedType(tree.tpe, "", tree))
2403+
dotc.typer.Inferencing.fullyDefinedType(implicitTree.tpe, "", implicitTree)
24042404
implicitTree
24052405
end Implicits
24062406

0 commit comments

Comments
 (0)