Chromium Code Reviews

Side by Side 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.
Jump to:
View unified diff |
« no previous file with comments | « test/codegen/fieldtest.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5
6 // Codegen dependency order test
7 const UNINITIALIZED = const _Uninitialized();
8 class _Uninitialized { const _Uninitialized(); }
9
5 main() { 10 main() {
11 // Number literals in call expressions.
6 print(1.toString()); 12 print(1.toString());
7 print(1.0.toString()); 13 print(1.0.toString());
8 print(1.1.toString()); 14 print(1.1.toString());
9 } 15 }
OLDNEW
« no previous file with comments | « test/codegen/fieldtest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine