File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -546,7 +546,8 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
546546 val fun1 = typedExpr(tree.fun, originalProto)
547547
548548 // Warning: The following lines are dirty and fragile. We record that auto-tupling was demanded as
549- // a side effect in adapt. If it was, we assume the tupled proto-type in the rest of the application.
549+ // a side effect in adapt. If it was, we assume the tupled proto-type in the rest of the application,
550+ // until, possibly, we have to fall back to insert an implicit on thq qualifier.
550551 // This crucially relies on he fact that `proto` is used only in a single call of `adapt`,
551552 // otherwise we would get possible cross-talk between different `adapt` calls using the same
552553 // prototype. A cleaner alternative would be to return a modified prototype from `adapt` together with
You can’t perform that action at this time.
0 commit comments