Skip to content

Commit b3a169a

Browse files
committed
Fix comment.
1 parent 704f4d7 commit b3a169a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dotty/tools/dotc/typer/Applications.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)