blob: 923d7ee71998da8182041b8074af0c80d5d9f618 [file] [log] [blame]
typedef F = void Function();
void foo() {}
F bar() => foo;
F? baz() => foo;
void Function() hest() => foo;
void Function()? fisk() => foo;
Function()? foobar(Function()? x) => null;
class A<T> {}
class B extends A<Function()?> {
Function()? method(Function()? x) => null;
}
main() {}