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

Unified Diff: tests/compiler/dart2js_extra/source_mapping_crash_test.dart

Issue 10991035: Fix invalid location in inline super constructor. (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 | « tests/compiler/dart2js_extra/source_mapping_crash_source.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_extra/source_mapping_crash_test.dart
diff --git a/tests/compiler/dart2js_extra/inline_position_crash_test.dart b/tests/compiler/dart2js_extra/source_mapping_crash_test.dart
similarity index 69%
copy from tests/compiler/dart2js_extra/inline_position_crash_test.dart
copy to tests/compiler/dart2js_extra/source_mapping_crash_test.dart
index d3881aa2017c97d6d4d1493557bdf2dd29391401..b5cc2e0f63dea0c096f9f25645622f792bd455fd 100644
--- a/tests/compiler/dart2js_extra/inline_position_crash_test.dart
+++ b/tests/compiler/dart2js_extra/source_mapping_crash_test.dart
@@ -2,12 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#source('inline_position_crash_source.dart');
+#source('source_mapping_crash_source.dart');
class Sub extends Super {
- Sub() : super();
+ Sub(var x) : super(x.y);
}
+class X { var y; }
+
main() {
- new Sub();
+ new Sub(new X());
}
« no previous file with comments | « tests/compiler/dart2js_extra/source_mapping_crash_source.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698