diff options
author | Martin Odersky <odersky@gmail.com> | 2017-02-02 16:38:27 +1100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2017-02-08 22:20:26 +1100 |
commit | 0f396544ced68ca2548b204527e2325c3fc65135 (patch) | |
tree | b88c6f374a1f510d5ffdc41996a216c489844daa /tests/neg/i1653.scala | |
parent | 97b0a084f4490a0e5cc3c7a02d18647e7fa89330 (diff) | |
download | dotty-0f396544ced68ca2548b204527e2325c3fc65135.tar.gz dotty-0f396544ced68ca2548b204527e2325c3fc65135.tar.bz2 dotty-0f396544ced68ca2548b204527e2325c3fc65135.zip |
Refine AnonClass generation
The leading class should be the superclass of the first trait
(which is not always Object).
We could think of a more refined condition, (i.e. taking the least
common superclass of all extended traits), but I think it's not worth
it, as one can always spell out the right superclass manually.
Diffstat (limited to 'tests/neg/i1653.scala')
0 files changed, 0 insertions, 0 deletions