parent
8408e9b193
commit
1729fac360
1 changed files with 1 additions and 1 deletions
|
|
@ -1636,7 +1636,7 @@ int JSCEmitter::exitVariable(Node *n) {
|
||||||
.replace(T_SETTER, state.variable(SETTER));
|
.replace(T_SETTER, state.variable(SETTER));
|
||||||
|
|
||||||
if (GetFlag(n, "ismember")) {
|
if (GetFlag(n, "ismember")) {
|
||||||
if (GetFlag(state.function(), IS_STATIC)
|
if (GetFlag(state.variable(), IS_STATIC)
|
||||||
|| Equal(Getattr(n, "nodeType"), "enumitem")) {
|
|| Equal(Getattr(n, "nodeType"), "enumitem")) {
|
||||||
Append(state.clazz(STATIC_VARIABLES), t_variable.str());
|
Append(state.clazz(STATIC_VARIABLES), t_variable.str());
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue