diff options
author | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2013-08-30 12:57:51 +0200 |
---|---|---|
committer | Miguel Garcia <miguelalfredo.garcia@epfl.ch> | 2013-12-16 10:01:12 +0100 |
commit | f9cbcbdaf81800b98a6774ca1e1dffcf2875fe4e (patch) | |
tree | b4443fb7e5ecb7e0e12e16ec289baf93668d6d6a /test/files | |
parent | 841dbc9c8cc6d7344b680bc916abf29849622c63 (diff) | |
download | scala-f9cbcbdaf81800b98a6774ca1e1dffcf2875fe4e.tar.gz scala-f9cbcbdaf81800b98a6774ca1e1dffcf2875fe4e.tar.bz2 scala-f9cbcbdaf81800b98a6774ca1e1dffcf2875fe4e.zip |
overzealous assert in BCodeBodyBuilder rejected throw null
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bcode_throw_null/TN.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/bcode_throw_null/TN.scala b/test/files/pos/bcode_throw_null/TN.scala new file mode 100644 index 0000000000..ed38b59bae --- /dev/null +++ b/test/files/pos/bcode_throw_null/TN.scala @@ -0,0 +1,7 @@ +object TN { + + def pre1(b: Boolean) { + println(if (b) 1 else throw null) + } + +} |