зеркало из https://github.com/mozilla/gecko-dev.git
This commit is contained in:
Родитель
9fc8b35f28
Коммит
eb913abc8f
|
@ -122,13 +122,14 @@ namespace MetaData {
|
|||
CompoundAttribute *a = Attribute::toCompoundAttribute(attr);
|
||||
if (a->dynamic || a->prototype)
|
||||
reportError(Exception::definitionError, "Illegal attribute", p->pos);
|
||||
MemberModifier memberMod = a->memberMod;
|
||||
Attribute::MemberModifier memberMod = a->memberMod;
|
||||
if ((env->getTopFrame()->kind == Frame::Class)
|
||||
&& (memberMod == Attribute::NoModifier))
|
||||
memberMod == Attribute::Final;
|
||||
memberMod = Attribute::Final;
|
||||
switch (memberMod) {
|
||||
case Attribute::NoModifier:
|
||||
case Attribute::Static:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче