From 7e3f69ace983adfbc9bbf44954f9a5845add3d43 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 5 Jan 2017 18:06:41 +0700 Subject: Cleanups --- compiler/src/dotty/tools/dotc/typer/Dynamic.scala | 4 ++-- compiler/src/dotty/tools/dotc/typer/Typer.scala | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'compiler/src') 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") } } -- cgit v1.2.3