From 1d56a547b56b2c82bf70d8701a077c13ffb7f80d Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 22 Apr 2015 16:21:14 +0200 Subject: Unpickle Imports Was missing before. Needed a tweak in PlainPrinter for printing import symbol references (their denotation is not current after pickling, so they would have printed differently after and before pickling). --- tests/new/test.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/new/test.scala (limited to 'tests/new') diff --git a/tests/new/test.scala b/tests/new/test.scala new file mode 100644 index 000000000..5d2bc0ff5 --- /dev/null +++ b/tests/new/test.scala @@ -0,0 +1,12 @@ +trait T { + object O +} + +class C extends T + +object Test { + + val c = new C + c.O + +} -- cgit v1.2.3