archives

« Bugzilla Issues Index

#2510 — 14.5.4 ClassTail, Contains: Contains definition does not take computed property names into account


14.5.4 Static Semantics: Contains.

The current definition for Contains in 14.5.4 does not take computed property names into account.
---
function outer() {
class C {
[super.x](){}
}
}
---

ReferencesSuper for the FunctionDeclaration "outer" should return true, but the current definition for Contains in 14.5.4 does not recurse into the ClassBody production.

Related to bug 2509.


fixed in rev23 editor's draft


fixed in rev23 draft