From d318cafbb92518a39c84539c0387c2c93815bb7a Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Sat, 10 Aug 2013 11:43:01 +0200 Subject: Added typing of all forms of type trees. --- src/dotty/tools/dotc/typer/Applications.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/typer/Applications.scala') diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index 7a6094078..242acc43b 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -511,7 +511,7 @@ trait Applications extends Compatibility { self: Typer => val result = app.result ConstFold(result) orElse result case _ => - fun1.exprType match { + fun1.qualifierType match { case ErrorType => tree.withType(ErrorType) } -- cgit v1.2.3