From 666bbe730aa647a8476a33ca79beba671b80b3d2 Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Sat, 9 Jun 2012 13:27:31 +0200 Subject: SI-4831 Fix ambiguous import detection for renamed imports. --- test/files/pos/t4831.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/pos/t4831.scala (limited to 'test/files/pos') diff --git a/test/files/pos/t4831.scala b/test/files/pos/t4831.scala new file mode 100644 index 0000000000..48002106e6 --- /dev/null +++ b/test/files/pos/t4831.scala @@ -0,0 +1,11 @@ +object O { + val a = 0 +} + + +object test { + val O1: O.type = O + val O2: O.type = O + import O1.a, O2.a + println(a) +} -- cgit v1.2.3