| Index: pkg/compiler/lib/src/js/nodes.dart
|
| diff --git a/pkg/compiler/lib/src/js/nodes.dart b/pkg/compiler/lib/src/js/nodes.dart
|
| index b6ce749efe6e522b400fcc8c04d52cba1fc099af..cc758baabc9913bfa9a06b2042720de8845d0746 100644
|
| --- a/pkg/compiler/lib/src/js/nodes.dart
|
| +++ b/pkg/compiler/lib/src/js/nodes.dart
|
| @@ -260,8 +260,8 @@ class EmptyStatement extends Statement {
|
|
|
| class If extends Statement {
|
| final Expression condition;
|
| - final Statement then;
|
| - final Statement otherwise;
|
| + final Node then;
|
| + final Node otherwise;
|
|
|
| If(this.condition, this.then, this.otherwise);
|
| If.noElse(this.condition, this.then) : this.otherwise = new EmptyStatement();
|
|
|