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

Unified Diff: test/kernel/regression/mandatory_parameter_initializer.dart

Issue 2055213002: Fix crash on mandatory parameters with initializers. (Closed) Base URL: git@github.com:dart-lang/rasta.git@for_in
Patch Set: Created 4 years, 6 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/kernel_visitor.dart ('k') | test/kernel/regression/mandatory_parameter_initializer.dart.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/kernel/regression/mandatory_parameter_initializer.dart
diff --git a/test/kernel/regression/bad_interpolation.dart b/test/kernel/regression/mandatory_parameter_initializer.dart
similarity index 89%
copy from test/kernel/regression/bad_interpolation.dart
copy to test/kernel/regression/mandatory_parameter_initializer.dart
index 98fd62e1573d05bec4f9a0e0781b6159189b0a1a..60805fe059b853760ea5559d882345685ec17fee 100644
--- a/test/kernel/regression/bad_interpolation.dart
+++ b/test/kernel/regression/mandatory_parameter_initializer.dart
@@ -2,6 +2,5 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-main() {
- print(" $x.);
+main(arguments = [x]) {
}
« no previous file with comments | « lib/kernel_visitor.dart ('k') | test/kernel/regression/mandatory_parameter_initializer.dart.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698