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

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

Issue 10970070: Fix bad diagnostic positions when inlining super constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
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
Index: dart/tests/compiler/dart2js_extra/inline_position_crash_source.dart
diff --git a/dart/tests/compiler/dart2js_extra/inline_position_crash_source.dart b/dart/tests/compiler/dart2js_extra/inline_position_crash_source.dart
new file mode 100644
index 0000000000000000000000000000000000000000..a0dc061c74344e083483cc84d3120edc166cebe7
--- /dev/null
+++ b/dart/tests/compiler/dart2js_extra/inline_position_crash_source.dart
@@ -0,0 +1,53 @@
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// 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.
+
+/*******************************************************************************
+ * Long comment to make positions in this file exceed the those in the other.
ngeoffray 2012/09/24 16:39:48 the those -> those
ahe 2012/09/24 17:09:22 In CL: https://codereview.chromium.org/10967074
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ *******************************************************************************
+ */
+class Super {
+ final fisk;
+ Super() : fisk = (() => null);
+}

Powered by Google App Engine
This is Rietveld 408576698