change order of extends comparisons
This commit is contained in:
parent
765eb44259
commit
34682d0b53
|
|
@ -1474,10 +1474,10 @@ function OutputStream(options) {
|
||||||
}
|
}
|
||||||
if (self.extends) {
|
if (self.extends) {
|
||||||
var parens = (
|
var parens = (
|
||||||
!(self.extends instanceof AST_ClassExpression)
|
!(self.extends instanceof AST_SymbolRef)
|
||||||
&& !(self.extends instanceof AST_Function)
|
|
||||||
&& !(self.extends instanceof AST_SymbolRef)
|
|
||||||
&& !(self.extends instanceof AST_PropAccess)
|
&& !(self.extends instanceof AST_PropAccess)
|
||||||
|
&& !(self.extends instanceof AST_ClassExpression)
|
||||||
|
&& !(self.extends instanceof AST_Function)
|
||||||
);
|
);
|
||||||
output.print("extends");
|
output.print("extends");
|
||||||
if (parens) {
|
if (parens) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user