JS: Use explicit this

This commit is contained in:
Asger F
2022-08-29 12:39:53 +02:00
parent 99f03a0d61
commit ea0ae98e58

View File

@@ -494,7 +494,7 @@ class MemberDeclaration extends @property, Documentable {
predicate isStatic() { is_static(this) }
/** Gets a boolean indicating if this member is static. */
boolean getStaticAsBool() { if isStatic() then result = true else result = false }
boolean getStaticAsBool() { if this.isStatic() then result = true else result = false }
/**
* Holds if this member is abstract.