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

Unified Diff: pkg/source_maps/test/common.dart

Issue 19019006: Fix bug in source-maps parsing: parser failed when most information could be (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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: pkg/source_maps/test/common.dart
diff --git a/pkg/source_maps/test/common.dart b/pkg/source_maps/test/common.dart
index 661979b8573287025ce30f1347f6f1c3f2bdc936..0c1f28a74166f980ec8eb561618b307cc0f45d34 100644
--- a/pkg/source_maps/test/common.dart
+++ b/pkg/source_maps/test/common.dart
@@ -27,6 +27,11 @@ Span ispan(int start, int end, [bool isIdentifier = false]) =>
Span inputVar1 = ispan(30, 38, true);
Span inputFunction = ispan(74, 82, true);
Span inputVar2 = ispan(87, 95, true);
+
+Span inputVar1NoSymbol = ispan(30, 38);
+Span inputFunctionNoSymbol = ispan(74, 82);
+Span inputVar2NoSymbol = ispan(87, 95);
+
Span inputExpr = ispan(108, 127);
/// Content of the target file
@@ -43,6 +48,9 @@ Span ospan(int start, int end, [bool isIdentifier = false]) =>
Span outputVar1 = ospan(4, 5, true);
Span outputFunction = ospan(11, 12, true);
Span outputVar2 = ospan(13, 14, true);
+Span outputVar1NoSymbol = ospan(4, 5);
+Span outputFunctionNoSymbol = ospan(11, 12);
+Span outputVar2NoSymbol = ospan(13, 14);
Span outputExpr = ospan(19, 24);
/// Expected output mapping when recording the following four mappings:

Powered by Google App Engine
This is Rietveld 408576698