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

Unified Diff: tests/compiler/dart2js/source_mapping_test.dart

Issue 10969067: Attach positions to methods with interceptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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
« no previous file with comments | « lib/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/source_mapping_test.dart
diff --git a/tests/compiler/dart2js/source_mapping_test.dart b/tests/compiler/dart2js/source_mapping_test.dart
index 3897be8f3be30deea5069461a65b6d051ee5aa0f..7a98ae381f7b4c0536347eed415292089f72c003 100644
--- a/tests/compiler/dart2js/source_mapping_test.dart
+++ b/tests/compiler/dart2js/source_mapping_test.dart
@@ -89,6 +89,7 @@ int test(int x) {
int result = 1; @while (result < x) { result <<= 1; @} return result;
}''';
+String INTERCEPTOR_TEST = '''void main() { var l = []; @l.add(0); print(l); }''';
ahe 2012/09/24 12:56:21 Long line.
podivilov1 2012/09/24 15:04:49 Done.
main() {
// These tests are fragile, since mappings for specific source locations
@@ -104,4 +105,5 @@ main() {
testSourceMapLocations(SEND_TEST);
testSourceMapLocations(SEND_SET_TEST);
testSourceMapLocations(LOOP_TEST);
+ testSourceMapLocations(INTERCEPTOR_TEST);
}
« no previous file with comments | « lib/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698