aboutsummaryrefslogtreecommitdiff
path: root/tests/repl
diff options
context:
space:
mode:
authorClemens Winter <clemenswinter1@gmail.com>2016-08-03 16:10:46 +0200
committerClemens Winter <clemenswinter1@gmail.com>2016-08-03 16:53:59 +0200
commit28bc8e83a09e00ff6c06752faee530298b22a640 (patch)
tree558060447439fd303e3ed2b6416de0e75b8093e7 /tests/repl
parent01bd9482d6d1565bfeb17526bed836f0feaeb0d1 (diff)
downloaddotty-28bc8e83a09e00ff6c06752faee530298b22a640.tar.gz
dotty-28bc8e83a09e00ff6c06752faee530298b22a640.tar.bz2
dotty-28bc8e83a09e00ff6c06752faee530298b22a640.zip
Fix #1367: Add ParsedTry case to UntypedTree{Copier,Map,Accumulator}
Diffstat (limited to 'tests/repl')
-rw-r--r--tests/repl/toplevelTry.check3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/repl/toplevelTry.check b/tests/repl/toplevelTry.check
new file mode 100644
index 000000000..9d2c87b35
--- /dev/null
+++ b/tests/repl/toplevelTry.check
@@ -0,0 +1,3 @@
+scala> try { 0 } catch { _: Throwable => 1 }
+res0: Int = 0
+scala> :quit