aboutsummaryrefslogtreecommitdiff
path: root/compiler/src
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src')
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Dynamic.scala4
-rw-r--r--compiler/src/dotty/tools/dotc/typer/Typer.scala1
2 files changed, 2 insertions, 3 deletions
diff --git a/compiler/src/dotty/tools/dotc/typer/Dynamic.scala b/compiler/src/dotty/tools/dotc/typer/Dynamic.scala
index 7cfd6327b..4b7584559 100644
--- a/compiler/src/dotty/tools/dotc/typer/Dynamic.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Dynamic.scala
@@ -116,11 +116,11 @@ trait Dynamic { self: Typer with Applications =>
*
* If `U` is a value type, map `x.a` to the equivalent of:
*
- * implicitly[Projection[T]].get(x, "a").asInstanceOf[U]
+ * implicitly[Projector[T]].get(x, "a").asInstanceOf[U]
*
* If `U` is a method type (T1,...,Tn)R, map `x.a` to the equivalent of:
*
- * implicitly[Projection[T]].getMethod(x, "a")(CT1, ..., CTn).asInstanceOf[(T1,...,Tn) => R]
+ * implicitly[Projector[T]].getMethod(x, "a")(CT1, ..., CTn).asInstanceOf[(T1,...,Tn) => R]
*
* where CT1,...,CTn are the classtags representing the erasure of T1,...,Tn.
*
diff --git a/compiler/src/dotty/tools/dotc/typer/Typer.scala b/compiler/src/dotty/tools/dotc/typer/Typer.scala
index 4c238518e..ec4c135f7 100644
--- a/compiler/src/dotty/tools/dotc/typer/Typer.scala
+++ b/compiler/src/dotty/tools/dotc/typer/Typer.scala
@@ -1805,7 +1805,6 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
case Apply(_, _) => " more"
case _ => ""
}
- println(i"tree = $tree, pt = $pt")
errorTree(tree, em"$methodStr does not take$more parameters")
}
}