diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2012-05-26 22:49:12 +0200 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2012-05-27 12:18:44 +0200 |
commit | c82bc67737a31f2a639172e677cafdefe8fdbf4e (patch) | |
tree | 6da5069e6c92b72e36d5118cb79424f511d1fe2b /build.number | |
parent | 688c558b0257636f8f46240616b8b3d448847a47 (diff) | |
download | scala-c82bc67737a31f2a639172e677cafdefe8fdbf4e.tar.gz scala-c82bc67737a31f2a639172e677cafdefe8fdbf4e.tar.bz2 scala-c82bc67737a31f2a639172e677cafdefe8fdbf4e.zip |
Fix a NSDNHAO in extension methods.
A bridge method, created when we override a method from
a superclass and refine the return type, was appearing
as an overloaded alternative. (`erasure` doesn't create
new scopes, so the bridges it builds are visible at
earlier phases.)
The problem was masked when compiling with specialization,
which *does* create a new scope, shielding the code in
question from the artefacts of erasure.
To fix the problem, we filter out bridge methods from
the overloaded alternatives returned by `.decl`, as would
happen internally in `.member`.
Diffstat (limited to 'build.number')
0 files changed, 0 insertions, 0 deletions