diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-01-29 22:56:19 +0300 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-14 14:19:45 +0100 |
commit | 3dff364399d63c2dd317eb7bdf03f9d5216b2936 (patch) | |
tree | 4da1ed08d24a06604381a158c6241ca9bef9045e /src | |
parent | 47dba05c5475b95c8ed9a43d4db29458f16a680b (diff) | |
download | scala-3dff364399d63c2dd317eb7bdf03f9d5216b2936.tar.gz scala-3dff364399d63c2dd317eb7bdf03f9d5216b2936.tar.bz2 scala-3dff364399d63c2dd317eb7bdf03f9d5216b2936.zip |
SI-6441 removes Symbol.isOverride
`Symbol.isOverride` joins `Symbol.isLocal` in the unfortunate family
of methods for which we had to break source compatibility because of
their utter brokenness.
Apparently, `isOverride` only returns true for those symbols that have
the OVERRIDE flag set (i.e. the ones that are derived from source definitions
that have the `override` modifier specified next to them). Of course,
this is very confusing, and that’s exacerbated by the fact that we can’t
fix this behavior, because there’s `internal#Symbol.isOverride` that someone
might rely on.
Given that there’s perfectly working `Symbol.allOverriddenSymbols`,
this commit removes the `Symbol.isOverride` API altogether.
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/api/Symbols.scala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/reflect/scala/reflect/api/Symbols.scala b/src/reflect/scala/reflect/api/Symbols.scala index 852d49ee28..663eb97c58 100644 --- a/src/reflect/scala/reflect/api/Symbols.scala +++ b/src/reflect/scala/reflect/api/Symbols.scala @@ -491,12 +491,6 @@ trait Symbols { self: Universe => */ def isFinal: Boolean - /** Is this symbol overriding something? - * - * @group Tests - */ - def isOverride: Boolean - /** Is this symbol abstract (i.e. an abstract class, an abstract method, value or type member)? * * @group Tests |