From 0c7c521f89290380389f73d9f4441a314c9e02e9 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Wed, 15 May 2013 10:39:41 +0200 Subject: SI-3943 Test case for already-fixed Java interop bug Confirmed that this was fixed in edee27f59. --- test/files/pos/t3943/Client_2.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/files/pos/t3943/Client_2.scala (limited to 'test/files/pos/t3943/Client_2.scala') diff --git a/test/files/pos/t3943/Client_2.scala b/test/files/pos/t3943/Client_2.scala new file mode 100644 index 0000000000..650ac9b7a9 --- /dev/null +++ b/test/files/pos/t3943/Client_2.scala @@ -0,0 +1,7 @@ +object Test { + val x: Child = new Child + x.getInner.foo("meh") +// error: type mismatch; +// found : java.lang.String("meh") +// required: E +} -- cgit v1.2.3