aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/ReTyper.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-08 19:55:55 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-09 15:45:41 +0100
commit224637c1cd0524d538cdd6fe261746f2c10b46ff (patch)
tree55e69a93f7ba5d2cd7c745909533de935899897e /src/dotty/tools/dotc/typer/ReTyper.scala
parent0e14e70b1bb4b079990b952ada3e8dd6b8de955d (diff)
downloaddotty-224637c1cd0524d538cdd6fe261746f2c10b46ff.tar.gz
dotty-224637c1cd0524d538cdd6fe261746f2c10b46ff.tar.bz2
dotty-224637c1cd0524d538cdd6fe261746f2c10b46ff.zip
Disable "Exception while typing" trace in retyper.
I looked a some of the failures so far, and in each case we got a huge "exception while typing" cascade but then no actual error! Buffer overflow? To find out more I disabled the trace for now.
Diffstat (limited to 'src/dotty/tools/dotc/typer/ReTyper.scala')
-rw-r--r--src/dotty/tools/dotc/typer/ReTyper.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/typer/ReTyper.scala b/src/dotty/tools/dotc/typer/ReTyper.scala
index f4e4f52b9..fc8cce45e 100644
--- a/src/dotty/tools/dotc/typer/ReTyper.scala
+++ b/src/dotty/tools/dotc/typer/ReTyper.scala
@@ -86,7 +86,7 @@ class ReTyper extends Typer {
case _ =>
super.handleUnexpectedFunType(tree, fun)
}
-
+/*
override def typedUnadapted(tree: untpd.Tree, pt: Type)(implicit ctx: Context) =
try super.typedUnadapted(tree, pt)
catch {
@@ -94,6 +94,6 @@ class ReTyper extends Typer {
println(i"exception while typing $tree of class ${tree.getClass} # ${tree.uniqueId}")
throw ex
}
-
+*/
override def checkVariance(tree: Tree)(implicit ctx: Context) = ()
}