edaf069dba
- Force import order in all sdk files + simplify module builders - Stub a node_test.sh with hello world + DeltaBlue (to be expanded to language tests in a followup change) - Use global_ from dart:_runtime in html lib - Better export for symbols that node chokes upon: throw, const, void, implements, export... (define as throw_ locally, with proper local resolution, then export as throw). - Cleanup node module builder BUG= R=jmesserly@google.com Review URL: https://codereview.chromium.org/1633003002 .
26 lines
365 B
Dart
26 lines
365 B
Dart
library test;
|
|
|
|
import 'dart:js';
|
|
|
|
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";
|
|
})();
|