diff options
author | Paul Phillips <paulp@improving.org> | 2012-01-14 23:48:24 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-01-14 23:50:03 -0800 |
commit | c5b15c4d2997cf97b1998b2ae1d524b0b836e5fd (patch) | |
tree | 252757a534691aff796d4ed553aa8aeeb13554f0 /test/files | |
parent | 9eb56b99610d734088a0dd2da7cded49211eff3a (diff) | |
download | scala-c5b15c4d2997cf97b1998b2ae1d524b0b836e5fd.tar.gz scala-c5b15c4d2997cf97b1998b2ae1d524b0b836e5fd.tar.bz2 scala-c5b15c4d2997cf97b1998b2ae1d524b0b836e5fd.zip |
Fix for raw types issue found in the IDE.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/raw-map/J_1.java | 4 | ||||
-rw-r--r-- | test/files/pos/raw-map/S_2.scala | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/files/pos/raw-map/J_1.java b/test/files/pos/raw-map/J_1.java new file mode 100644 index 0000000000..bd43bcac81 --- /dev/null +++ b/test/files/pos/raw-map/J_1.java @@ -0,0 +1,4 @@ +public class J_1 { + public void setRawType(java.util.Map x) { + } +} diff --git a/test/files/pos/raw-map/S_2.scala b/test/files/pos/raw-map/S_2.scala new file mode 100644 index 0000000000..de6c4ee5c2 --- /dev/null +++ b/test/files/pos/raw-map/S_2.scala @@ -0,0 +1,6 @@ +class Foo { + def foo { + val x: J_1 = null + x.setRawType(new java.util.HashMap) + } +} |