aba85e3d9f
Factored the load order logic into its own file, as it was easier to work with that way. We could definitely tweak the structure. Also tried hoisting constants out to top level, but it's not quite ready yet, so splitting that work out into a separate CL. (also fixes #152 about cleaning up lazyClass, and fixes #181 about static fields) R=vsm@google.com Review URL: https://codereview.chromium.org/1133593004
16 lines
473 B
Dart
16 lines
473 B
Dart
// Copyright (c) 2015, 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.
|
|
|
|
|
|
// 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());
|
|
}
|