diff options
author | Martin Odersky <odersky@gmail.com> | 2013-11-14 17:35:51 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-11-14 17:36:41 +0100 |
commit | fe865cd382bb21026b79070eafa597b865fe461c (patch) | |
tree | 1395dfea81a5e29d7dd99c1809732b428284053a /src/dotty/tools/dotc/typer/Applications.scala | |
parent | 9c85d93caca274943b2caf028e850261ade257d6 (diff) | |
download | dotty-fe865cd382bb21026b79070eafa597b865fe461c.tar.gz dotty-fe865cd382bb21026b79070eafa597b865fe461c.tar.bz2 dotty-fe865cd382bb21026b79070eafa597b865fe461c.zip |
replace qualifierType by widenIfUnstable.
Also, throw an exception on internal errors rather than issuing an error (this helps debugging, should be reverted for production).
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Applications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index f4936cff0..7dc6eb799 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -483,7 +483,7 @@ trait Applications extends Compatibility { self: Typer => } } case _ => - fun1.qualifierType match { + fun1.tpe match { case ErrorType => tree.withType(ErrorType) } |