From 261c87b5859882cd39f3427c59e97d2841937010 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 25 Mar 2015 18:18:39 +0100 Subject: Fix #429 enclosingMethod should not crash on NoDenotation. --- tests/pos/KillLambdaLift.scala | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 tests/pos/KillLambdaLift.scala (limited to 'tests/pos/KillLambdaLift.scala') diff --git a/tests/pos/KillLambdaLift.scala b/tests/pos/KillLambdaLift.scala new file mode 100644 index 000000000..23a40da5e --- /dev/null +++ b/tests/pos/KillLambdaLift.scala @@ -0,0 +1,3 @@ +class KillLambdaLift { + private def com: this.type = _root_.scala.Predef.??? +} -- cgit v1.2.3