blob: 0e4b545eb48b90e47f12b64de5e18aa6dde0af5c [file] [log] [blame]
library test;
Function2<List<int>, String> g = ([llll = const [1]]) => "hello";
class Foo {
Foo([this.x = const [1]]);
Foo.named([List<int> x = const [1]]) : this.x = x;
List<int> x;
}
main() {}
typedef T Function2<S, T>([S x]);
void f([List<int> l = const [1]]) {}