diff options
author | Martin Odersky <odersky@gmail.com> | 2015-03-25 18:18:39 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-03-25 18:18:39 +0100 |
commit | 261c87b5859882cd39f3427c59e97d2841937010 (patch) | |
tree | a3cf478231fa3ec8673c34f5ceaa260fb8e69146 /tests/pos/KillLambdaLift.scala | |
parent | c6792189ff2075ac8b90efc7fad42aafd6a7b67e (diff) | |
download | dotty-261c87b5859882cd39f3427c59e97d2841937010.tar.gz dotty-261c87b5859882cd39f3427c59e97d2841937010.tar.bz2 dotty-261c87b5859882cd39f3427c59e97d2841937010.zip |
Fix #429
enclosingMethod should not crash on NoDenotation.
Diffstat (limited to 'tests/pos/KillLambdaLift.scala')
-rw-r--r-- | tests/pos/KillLambdaLift.scala | 3 |
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.??? +} |