diff options
author | odersky <odersky@gmail.com> | 2016-12-28 10:35:03 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-28 10:35:03 +0700 |
commit | 39c27b6a8aaa2c7303db54011082246ada06c0a0 (patch) | |
tree | 989c1187e1a50404c7873eb902471401fda741ce /tests | |
parent | 5b984ac0628f64b41905ad89b5dc72751ae4f18f (diff) | |
parent | 18bc638c276c56e497bd39b58c9f3acf8b09f9e0 (diff) | |
download | dotty-39c27b6a8aaa2c7303db54011082246ada06c0a0.tar.gz dotty-39c27b6a8aaa2c7303db54011082246ada06c0a0.tar.bz2 dotty-39c27b6a8aaa2c7303db54011082246ada06c0a0.zip |
Merge pull request #1850 from dotty-staging/fix-#1845
Fix #1845: Survive illegal this-type prefixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/i1845.scala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/neg/i1845.scala b/tests/neg/i1845.scala new file mode 100644 index 000000000..e3e5787e6 --- /dev/null +++ b/tests/neg/i1845.scala @@ -0,0 +1,3 @@ +object Test { + type X = FooBar22.this // error +} // error |