From 8d4a5bab2666c7006f31645b59cf063f07a8a12d Mon Sep 17 00:00:00 2001 From: James Iry Date: Wed, 28 Aug 2013 20:51:31 -0700 Subject: Create test variants where delambdafication alters signatures. This commit includes several tests where there's a variation in signatures between inline delambdafication and method based delambdafication. --- test/files/run/delambdafy_t6555.check | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/files/run/delambdafy_t6555.check (limited to 'test/files/run/delambdafy_t6555.check') diff --git a/test/files/run/delambdafy_t6555.check b/test/files/run/delambdafy_t6555.check new file mode 100644 index 0000000000..6b174c0d2a --- /dev/null +++ b/test/files/run/delambdafy_t6555.check @@ -0,0 +1,15 @@ +[[syntax trees at end of specialize]] // newSource1.scala +package { + class Foo extends Object { + def (): Foo = { + Foo.super.(); + () + }; + private[this] val f: Int => Int = { + final def $anonfun(param: Int): Int = param; + ((param: Int) => $anonfun(param)) + }; + def f(): Int => Int = Foo.this.f + } +} + -- cgit v1.2.3