From 9bf44f867c1a9f4625dd7fac9575c3e74373402b Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 19 Jun 2015 23:12:46 +0200 Subject: Map outer accessors to outer paramaters Map references to outer accessors in secondary constructors to outer parameters. This was the second source of "reference to this before super call" errors. --- tests/run/constructors.check | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/run/constructors.check (limited to 'tests/run/constructors.check') diff --git a/tests/run/constructors.check b/tests/run/constructors.check new file mode 100644 index 000000000..0743b7e29 --- /dev/null +++ b/tests/run/constructors.check @@ -0,0 +1,5 @@ +x=1 y=2 +x=3 y=3 +x=1 y=1 +x=1 y=2 a=1 b=2 c=a +x=3 y=3 a=3 b=3 c=b -- cgit v1.2.3