aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Applications.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-08-21 12:18:44 +0200
committerMartin Odersky <odersky@gmail.com>2016-08-21 15:19:27 +0200
commitb3a169af0b3f33d83bbf6ce15971d2c047b036de (patch)
treee9a7a531f96ea8b67b824cf21e281de107524a23 /src/dotty/tools/dotc/typer/Applications.scala
parent704f4d745e2b71b30e44533d38936cdb43813acf (diff)
downloaddotty-b3a169af0b3f33d83bbf6ce15971d2c047b036de.tar.gz
dotty-b3a169af0b3f33d83bbf6ce15971d2c047b036de.tar.bz2
dotty-b3a169af0b3f33d83bbf6ce15971d2c047b036de.zip
Fix comment.
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Applications.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala
index 3916f935f..676aafd35 100644
--- a/src/dotty/tools/dotc/typer/Applications.scala
+++ b/src/dotty/tools/dotc/typer/Applications.scala
@@ -546,7 +546,8 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
val fun1 = typedExpr(tree.fun, originalProto)
// Warning: The following lines are dirty and fragile. We record that auto-tupling was demanded as
- // a side effect in adapt. If it was, we assume the tupled proto-type in the rest of the application.
+ // a side effect in adapt. If it was, we assume the tupled proto-type in the rest of the application,
+ // until, possibly, we have to fall back to insert an implicit on thq qualifier.
// This crucially relies on he fact that `proto` is used only in a single call of `adapt`,
// otherwise we would get possible cross-talk between different `adapt` calls using the same
// prototype. A cleaner alternative would be to return a modified prototype from `adapt` together with