From 7ec75f35e192a795945e889bf383ef02521e4b69 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 15 Jul 2016 14:28:11 +0200 Subject: Refine disambiguation logic and add test case. --- tests/run/i1386.scala | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/run/i1386.scala (limited to 'tests/run/i1386.scala') diff --git a/tests/run/i1386.scala b/tests/run/i1386.scala new file mode 100644 index 000000000..e5f4332d2 --- /dev/null +++ b/tests/run/i1386.scala @@ -0,0 +1,4 @@ +object Test { + def main(args: Array[String]) = + assert(new java.util.HashMap[Int, Int]().size == 0) +} -- cgit v1.2.3