diff options
author | Paul Phillips <paulp@improving.org> | 2011-01-20 16:19:27 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-01-20 16:19:27 +0000 |
commit | 7a9f1437ab88403d8a9611c0790d583996db96c3 (patch) | |
tree | 7354618b380146273043fb7b4ac6e6e89c878724 /test/files/pos | |
parent | 2d11a5bd46d1246f097507772e0eb6d5426db4d4 (diff) | |
download | scala-7a9f1437ab88403d8a9611c0790d583996db96c3.tar.gz scala-7a9f1437ab88403d8a9611c0790d583996db96c3.tar.bz2 scala-7a9f1437ab88403d8a9611c0790d583996db96c3.zip |
Made ().## and null.## not crash anymore.
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/hashhash-overloads.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/hashhash-overloads.scala b/test/files/pos/hashhash-overloads.scala new file mode 100644 index 0000000000..40519bae06 --- /dev/null +++ b/test/files/pos/hashhash-overloads.scala @@ -0,0 +1,6 @@ +object Test { + def f = ().## + def g = 5f.## + def h = ({ 5 ; println("abc") }).## + def f2 = null.## +} |