diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-08 19:55:55 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-09 15:45:41 +0100 |
commit | 224637c1cd0524d538cdd6fe261746f2c10b46ff (patch) | |
tree | 55e69a93f7ba5d2cd7c745909533de935899897e /src/dotty/tools/dotc/typer | |
parent | 0e14e70b1bb4b079990b952ada3e8dd6b8de955d (diff) | |
download | dotty-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')
-rw-r--r-- | src/dotty/tools/dotc/typer/ReTyper.scala | 4 |
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) = () } |