From b50f9abef672221a4706f0819eca2cfc1068751c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 26 Jun 2015 17:39:51 +0200 Subject: Drop Module flag from lifted symbols. Reason: A lifted module is no longer a module (i.e. singleton object) in the scope to which it is lifted. Fixes #689. --- tests/run/i689.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/run/i689.scala (limited to 'tests/run/i689.scala') diff --git a/tests/run/i689.scala b/tests/run/i689.scala new file mode 100644 index 000000000..262d13852 --- /dev/null +++ b/tests/run/i689.scala @@ -0,0 +1,10 @@ +object Test { + def main(args: Array[String]): Unit = { + object A { + def a = new A + def y = 0 + } + class A { A.y } + A.a + } +} -- cgit v1.2.3