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

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

Issue 2471543004: Fix compiler crash when we declare several (global) variables, but only define some of them. (Closed)
Patch Set: cleanup Created 4 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
Index: tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
diff --git a/tests/language/accessor_conflict_getter.dart b/tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
similarity index 86%
copy from tests/language/accessor_conflict_getter.dart
copy to tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.dart
index 5b8d72fad773b7cf48fd0e0f9b40c3cd8669628d..a88ad9bed1b39e628a656eb2454ee88a23fbf7e2 100644
--- a/tests/language/accessor_conflict_getter.dart
+++ b/tests/compiler/dart2js_extra/multi_global_def_single_instantiation_test.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 file.
-var getValue;
-
-get x => getValue;
+var y, w, z, x = [];
+main() => x;

Powered by Google App Engine
This is Rietveld 408576698