diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-24 13:50:32 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-06 11:04:53 +0200 |
commit | 3352ffc97f3577fd6de5c22a22c7c7c887e9b1f9 (patch) | |
tree | c2b31cca0fe9f6f05769c2dd6298f0d20c403257 /tests/neg | |
parent | c8a479255745d7de391f386bbf8946233ff46f7d (diff) | |
download | dotty-3352ffc97f3577fd6de5c22a22c7c7c887e9b1f9.tar.gz dotty-3352ffc97f3577fd6de5c22a22c7c7c887e9b1f9.tar.bz2 dotty-3352ffc97f3577fd6de5c22a22c7c7c887e9b1f9.zip |
Tighten isStable predicate
A term ref is stable only if its prefix is also stable. At the same time, we
drop stability requirements where they no longer make sense (e.g. in isLegalPrefix).
Diffstat (limited to 'tests/neg')
-rw-r--r-- | tests/neg/projections.scala | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/neg/projections.scala b/tests/neg/projections.scala deleted file mode 100644 index 5d80e1151..000000000 --- a/tests/neg/projections.scala +++ /dev/null @@ -1,7 +0,0 @@ -class projections { - - class Lambda { type Arg; type Apply } - - var x: (Lambda { type Apply = Int }) # Apply = _ // error: illegal prefix - -} |