blob: bdfd52ef1c05b8a30bf4e0fb1e641717e98d03aa [file] [log] [blame]
// @dart = 2.9
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]]);
}
void f([List<int> l = const [1]]) {}
Function2<List<int>, String> g = ([llll = const [1]]) => "hello";
main() {}