aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-03-25 18:18:39 +0100
committerMartin Odersky <odersky@gmail.com>2015-03-25 18:18:39 +0100
commit261c87b5859882cd39f3427c59e97d2841937010 (patch)
treea3cf478231fa3ec8673c34f5ceaa260fb8e69146 /tests
parentc6792189ff2075ac8b90efc7fad42aafd6a7b67e (diff)
downloaddotty-261c87b5859882cd39f3427c59e97d2841937010.tar.gz
dotty-261c87b5859882cd39f3427c59e97d2841937010.tar.bz2
dotty-261c87b5859882cd39f3427c59e97d2841937010.zip
Fix #429
enclosingMethod should not crash on NoDenotation.
Diffstat (limited to 'tests')
-rw-r--r--tests/pos/KillLambdaLift.scala3
1 files changed, 3 insertions, 0 deletions
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.???
+}