Index: sdk/lib/_internal/compiler/implementation/ssa/codegen.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (revision 26117) |
+++ sdk/lib/_internal/compiler/implementation/ssa/codegen.dart (working copy) |
@@ -700,7 +700,7 @@ |
currentContainer = new js.Block.empty(); |
cases.add(new js.Case(pop(), currentContainer)); |
} |
- if (i == info.matchExpressions.length - 1 && info.hasDefault) { |
+ if (i == info.matchExpressions.length - 1) { |
currentContainer = new js.Block.empty(); |
cases.add(new js.Default(currentContainer)); |
} |