We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3191b7 commit 01fae5dCopy full SHA for 01fae5d
src/dotty/tools/backend/jvm/DottyBackendInterface.scala
@@ -452,7 +452,8 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{
452
def isVarargsMethod: Boolean = sym is Flags.JavaVarargs
453
def isDeprecated: Boolean = false
454
def isMutable: Boolean = sym is Flags.Mutable
455
- def hasAbstractFlag: Boolean = (sym is Flags.Abstract) || (sym is Flags.JavaInterface)
+ def hasAbstractFlag: Boolean =
456
+ (sym is Flags.Abstract) || (sym is Flags.JavaInterface) || (sym is Flags.Trait)
457
def hasModuleFlag: Boolean = sym is Flags.Module
458
def isSynchronized: Boolean = sym is Flags.Synchronized
459
def isNonBottomSubClass(other: Symbol): Boolean = sym.derivesFrom(other)
0 commit comments