summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
Diffstat (limited to 'sources')
-rw-r--r--sources/scalac/symtab/Symbol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/symtab/Symbol.java b/sources/scalac/symtab/Symbol.java
index 9804e5c121..18c2a1aa2c 100644
--- a/sources/scalac/symtab/Symbol.java
+++ b/sources/scalac/symtab/Symbol.java
@@ -654,7 +654,7 @@ public abstract class Symbol implements Modifiers, Kinds {
/** Does this symbol denote a this symbol? */
public final boolean isThisSym() {
- return owner.isClass() && owner.thisSym() == this;
+ return (attrs & IS_THISTYPE) != 0;
}
/** Does this symbol denote an interface? */