Fix the static analysis error: m.isVirtual is a tri-state undefined, true, or "pure", and I didn't take that into account when writing the original NS_OVERRIDE analysis.
This commit is contained in:
@@ -63,7 +63,7 @@ function signaturesMatch(m1, m2)
|
||||
if (m1.shortName != m2.shortName)
|
||||
return false;
|
||||
|
||||
if (m1.isVirtual != m2.isVirtual)
|
||||
if ((!!m1.isVirtual) != (!!m2.isVirtual))
|
||||
return false;
|
||||
|
||||
if (m1.isStatic != m2.isStatic)
|
||||
|
||||
Reference in New Issue
Block a user