aboutsummaryrefslogtreecommitdiff
path: root/tests/run/constructors.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-06-19 23:12:46 +0200
committerMartin Odersky <odersky@gmail.com>2015-06-19 23:12:57 +0200
commit9bf44f867c1a9f4625dd7fac9575c3e74373402b (patch)
treef60948565b2200e3d93dc0873fcdd0a279ee1f0c /tests/run/constructors.check
parentf3a676a33e075b93d99689f26e76632e57a4d8c3 (diff)
downloaddotty-9bf44f867c1a9f4625dd7fac9575c3e74373402b.tar.gz
dotty-9bf44f867c1a9f4625dd7fac9575c3e74373402b.tar.bz2
dotty-9bf44f867c1a9f4625dd7fac9575c3e74373402b.zip
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.
Diffstat (limited to 'tests/run/constructors.check')
-rw-r--r--tests/run/constructors.check5
1 files changed, 5 insertions, 0 deletions
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