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

Unified Diff: test/codegen/misc.dart

Issue 1133593004: fixes #131, use before define from variables to classes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 7 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 | « test/codegen/fieldtest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/misc.dart
diff --git a/test/codegen/misc.dart b/test/codegen/misc.dart
index cc83f8bcf9770783f4938a28b5fccd5fd8563d1b..8081cce4421a692abb240ca956eecd267cfa1831 100644
--- a/test/codegen/misc.dart
+++ b/test/codegen/misc.dart
@@ -2,7 +2,13 @@
// 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.
+
+// Codegen dependency order test
+const UNINITIALIZED = const _Uninitialized();
+class _Uninitialized { const _Uninitialized(); }
+
main() {
+ // Number literals in call expressions.
print(1.toString());
print(1.0.toString());
print(1.1.toString());
« no previous file with comments | « test/codegen/fieldtest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698