blob: 425f7916b1813121f05fdc53a1c242f6db9f6b11 [file] [log] [blame]
library /*isNonNullableByDefault*/;
import self as self;
typedef F = () →? void;
static method foo(() void x) void {
self::bar(x);
self::bar(null);
self::baz(x);
self::baz(null);
}
static method bar(() →? void x) void {}
static method baz(() →? void x) void {}
static method main() dynamic {}