diff options
author | Erik Osheim <d_m@plastic-idolatry.com> | 2012-02-15 10:25:00 -0500 |
---|---|---|
committer | Erik Osheim <d_m@plastic-idolatry.com> | 2012-02-15 10:25:00 -0500 |
commit | e4b5c002b12e17150740283619e12fd6dfab5442 (patch) | |
tree | 92553a39ff021d4a8b60f03f5d7c3fb7b3309b20 /test/files/pos | |
parent | 14f3135368b923a1f5d14d1b4f7424db22fd7f79 (diff) | |
download | scala-e4b5c002b12e17150740283619e12fd6dfab5442.tar.gz scala-e4b5c002b12e17150740283619e12fd6dfab5442.tar.bz2 scala-e4b5c002b12e17150740283619e12fd6dfab5442.zip |
Improve handling of final and @inline in specialization.
Previously, the specialize phase removed FINAL from all specialized
methods, but left the @inline annotation alone, causing warnings. This
patch does two things:
1. It only removes final from the original class' methods which are
overridden, while leaving it on the specialized subclasses' methods.
2. When removing final, it also removes @inline, to prevent spurious
warnings.
This was intended to fix SI-5005, however there are deeper problems
which prevent inlining from working even with this fixed.
Diffstat (limited to 'test/files/pos')
0 files changed, 0 insertions, 0 deletions