blob: 27d0ae8275c8bafb8f897f5117a6d395393f127b [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() {}