diff options
author | odersky <odersky@gmail.com> | 2016-11-17 09:38:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 09:38:17 +0100 |
commit | 528bccf9de97dd83418780bf26b3e797dde59875 (patch) | |
tree | e87490cdbc70326f4a5e317e61bedb7ac398a438 /tests | |
parent | 0397af7b3f014b2bbb0655b7162897f7a942f81d (diff) | |
parent | 4eca2769a97836945d0c28acb1baf2f7dcb9b3ee (diff) | |
download | dotty-528bccf9de97dd83418780bf26b3e797dde59875.tar.gz dotty-528bccf9de97dd83418780bf26b3e797dde59875.tar.bz2 dotty-528bccf9de97dd83418780bf26b3e797dde59875.zip |
Merge pull request #1718 from dotty-staging/fix-#1703
Fix #1703
Diffstat (limited to 'tests')
-rw-r--r-- | tests/neg/i1703.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/neg/i1703.scala b/tests/neg/i1703.scala new file mode 100644 index 000000000..a0c8c337c --- /dev/null +++ b/tests/neg/i1703.scala @@ -0,0 +1,5 @@ +class DuplicateClassName { () => { // error: not a legal self type clause + { () => + } +} +} |