diff options
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 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) } |