Index: pkg/compiler/lib/src/resolution/label_scope.dart |
diff --git a/pkg/compiler/lib/src/resolution/label_scope.dart b/pkg/compiler/lib/src/resolution/label_scope.dart |
index 21aed767c695690addfe0bb41a0e8db996316c96..57424810a685d0e43902743057cc667703313f1d 100644 |
--- a/pkg/compiler/lib/src/resolution/label_scope.dart |
+++ b/pkg/compiler/lib/src/resolution/label_scope.dart |
@@ -4,11 +4,8 @@ |
library dart2js.resolution.label_scope; |
-import '../elements/elements.dart' show |
- JumpTarget, |
- LabelDefinition; |
-import '../util/util.dart' show |
- Link; |
+import '../elements/elements.dart' show JumpTarget, LabelDefinition; |
+import '../util/util.dart' show Link; |
abstract class LabelScope { |
LabelScope get outer; |
@@ -65,10 +62,10 @@ class StatementScope { |
} |
JumpTarget currentBreakTarget() => |
- breakTargetStack.isEmpty ? null : breakTargetStack.head; |
+ breakTargetStack.isEmpty ? null : breakTargetStack.head; |
JumpTarget currentContinueTarget() => |
- continueTargetStack.isEmpty ? null : continueTargetStack.head; |
+ continueTargetStack.isEmpty ? null : continueTargetStack.head; |
void enterLabelScope(Map<String, LabelDefinition> elements) { |
labels = new LabeledStatementLabelScope(labels, elements); |
@@ -92,8 +89,8 @@ class StatementScope { |
continueTargetStack = continueTargetStack.tail; |
} |
- void enterSwitch(JumpTarget breakElement, |
- Map<String, LabelDefinition> continueElements) { |
+ void enterSwitch( |
+ JumpTarget breakElement, Map<String, LabelDefinition> continueElements) { |
breakTargetStack = breakTargetStack.prepend(breakElement); |
labels = new SwitchLabelScope(labels, continueElements); |
nestingLevel++; |