blob: 86b443e332daa82c9d4cfcaf64bb45ef40c19b9e [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]]) {}