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

Unified Diff: dart/tests/try/web/incremental_compilation_update_test.dart

Issue 710173005: Disable source maps completely. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update fallbackCompiler to new API. Created 6 years, 1 month 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
« no previous file with comments | « dart/pkg/compiler/lib/src/ssa/builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/try/web/incremental_compilation_update_test.dart
diff --git a/dart/tests/try/web/incremental_compilation_update_test.dart b/dart/tests/try/web/incremental_compilation_update_test.dart
index ad5b39f079bb0a0018e18646dffea24bcb8f532a..9ce598642fd43e78f8c1d27c4a3157519f63169b 100644
--- a/dart/tests/try/web/incremental_compilation_update_test.dart
+++ b/dart/tests/try/web/incremental_compilation_update_test.dart
@@ -461,6 +461,27 @@ main() {
""",
const <String>['Called B.m']),
],
+
+ // Test that source maps don't throw exceptions.
+ const <ProgramResult>[
+ const ProgramResult(
+ """
+main() {
+ print('a');
+}
+""",
+ const <String>['a']),
+
+ const ProgramResult(
+ """
+main() {
+ print('a');
+ print('b');
+ print('c');
+}
+""",
+ const <String>['a', 'b', 'c']),
+ ],
];
void main() {
« no previous file with comments | « dart/pkg/compiler/lib/src/ssa/builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698