0c148ecef4
Highlights * compile one module at a time * use summaries to speed up compiles * use command runner so we can add more commands later * some long needed renames and file organization * various other technical debt has been addressed Lowlights * lost node.js runner/tests (node output format still supported) * possibly lost some closure support/workarounds (format still supported) * needs more end-to-end tests of the new system R=vsm@google.com Review URL: https://codereview.chromium.org/1879373004 .
25 lines
380 B
Dart
25 lines
380 B
Dart
// compile options: --modules=es6
|
|
library test;
|
|
|
|
typedef void Callback({int i});
|
|
|
|
class A {}
|
|
class _A {}
|
|
class B<T> {}
|
|
class _B<T> {}
|
|
|
|
f() {}
|
|
_f() {}
|
|
|
|
const String constant = "abc";
|
|
final String finalConstant = "abc";
|
|
final String lazy = (() {
|
|
print('lazy');
|
|
return "abc";
|
|
})();
|
|
String mutable = "abc";
|
|
String lazyMutable = (() {
|
|
print('lazyMutable');
|
|
return "abc";
|
|
})();
|