Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 14969004: Implement continue for switch. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/elements/modelx.dart
diff --git a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
index dffa69476743dd95fa85e636bdf8de952027befb..9f60f0379c3d1bef6da8af6804c5457d813ca623 100644
--- a/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
+++ b/sdk/lib/_internal/compiler/implementation/elements/modelx.dart
@@ -2001,7 +2001,8 @@ class TargetElementX extends ElementX implements TargetElement {
bool isContinueTarget = false;
TargetElementX(this.statement, this.nestingLevel, Element enclosingElement)
- : super(const SourceString(""), ElementKind.STATEMENT, enclosingElement);
+ : super(const SourceString("target"),
+ ElementKind.STATEMENT, enclosingElement);
ngeoffray 2013/05/14 07:08:51 Odd indentation.
Johnni Winther 2013/05/17 07:03:04 Done.
bool get isTarget => isBreakTarget || isContinueTarget;
LabelElement addLabel(Label label, String labelName) {

Powered by Google App Engine
This is Rietveld 408576698