aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/typer/Typer.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2014-12-17 12:36:25 +0100
committerDmitry Petrashko <dark@d-d.me>2014-12-17 12:36:25 +0100
commitecbf5f545b46d65858d27173701def9e2a4d113a (patch)
treebba40f6bb76d8221ed2513caa7459fee728a1ba8 /src/dotty/tools/dotc/typer/Typer.scala
parent3a68e50073e9c4cef06c44e1dec7e3e492eb3274 (diff)
parent625ad7ff89e80f29d425b9dcb2077498b11f4e7c (diff)
downloaddotty-ecbf5f545b46d65858d27173701def9e2a4d113a.tar.gz
dotty-ecbf5f545b46d65858d27173701def9e2a4d113a.tar.bz2
dotty-ecbf5f545b46d65858d27173701def9e2a4d113a.zip
Merge pull request #285 from dotty-staging/fix/catchNonFatal
Fix/catch non fatal
Diffstat (limited to 'src/dotty/tools/dotc/typer/Typer.scala')
-rw-r--r--src/dotty/tools/dotc/typer/Typer.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala
index 1fe770462..97eded7cb 100644
--- a/src/dotty/tools/dotc/typer/Typer.scala
+++ b/src/dotty/tools/dotc/typer/Typer.scala
@@ -1021,6 +1021,7 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit
case tree: untpd.PackageDef => typedPackageDef(tree)
case tree: untpd.Annotated => typedAnnotated(tree, pt)
case tree: untpd.TypedSplice => tree.tree
+ case tree: untpd.UnApply => typedUnApply(tree, pt)
case untpd.PostfixOp(tree, nme.WILDCARD) => typedAsFunction(tree, pt)
case untpd.EmptyTree => tpd.EmptyTree
case _ => typedUnadapted(desugar(tree), pt)