adf6842f6c
Known issues: - Import syntax: using 'dart/core' right now, but should be './dart/core' or something else? - _jsModuleValue not supported in es6 output yet (how is it meant to be used?) BUG= R=jmesserly@google.com Review URL: https://codereview.chromium.org/1612083002 .
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";
|
|
})();
|