| Index: lib/compiler/implementation/js/nodes.dart
|
| diff --git a/lib/compiler/implementation/js/nodes.dart b/lib/compiler/implementation/js/nodes.dart
|
| index 02bce5b63e82dc86700128a2df26b41509396350..be1ffafe7fd0f18bb5969825052bfc6897c76d34 100644
|
| --- a/lib/compiler/implementation/js/nodes.dart
|
| +++ b/lib/compiler/implementation/js/nodes.dart
|
| @@ -194,7 +194,7 @@ class If extends Statement {
|
| final Node otherwise;
|
|
|
| If(this.condition, this.then, this.otherwise);
|
| - If.then(this.condition, this.then) : this.otherwise = new EmptyStatement();
|
| + If.noElse(this.condition, this.then) : this.otherwise = new EmptyStatement();
|
|
|
| bool get hasElse => otherwise is !EmptyStatement;
|
|
|
|
|