diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2015-02-02 21:04:49 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2015-02-07 07:45:49 +0100 |
commit | 1437aa88241d5e99900a86b25c6ce385c2708570 (patch) | |
tree | e026a19cb5ed382fc8f2b697045cf4dd5d7c372e /test/files/neg/t7980.scala | |
parent | 0bcc871e3f4c4331fb53ec0e7087669589a607d6 (diff) | |
download | scala-1437aa88241d5e99900a86b25c6ce385c2708570.tar.gz scala-1437aa88241d5e99900a86b25c6ce385c2708570.tar.bz2 scala-1437aa88241d5e99900a86b25c6ce385c2708570.zip |
SI-9124 fix EnclosingMethod of classes nested in implOnly trait defs
Private trait methods are not added to the generated interface, they
end up only in the implementation class. For classes nested in such
methods, the EnclosingMethod attribute was incorrect.
Since the EnclosingMethod attribute expresses a source-level property,
but the actual enclosing method does not exist in the bytecode, we
set the enclosing method to null.
Diffstat (limited to 'test/files/neg/t7980.scala')
0 files changed, 0 insertions, 0 deletions