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