aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Applications.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-11-14 17:35:51 +0100
committerMartin Odersky <odersky@gmail.com>2013-11-14 17:36:41 +0100
commitfe865cd382bb21026b79070eafa597b865fe461c (patch)
tree1395dfea81a5e29d7dd99c1809732b428284053a /src/dotty/tools/dotc/typer/Applications.scala
parent9c85d93caca274943b2caf028e850261ade257d6 (diff)
downloaddotty-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.scala2
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)
}