blob: 1d74f3831b3235c75583f60157426994cba6ef18 [file] [log] [blame]
class B {
B(Object? x, void Function() g, Object? y);
B.redirectingConstructorInvocation(int? i)
: this(i!, () {
i = null;
}, i);
}
class C extends B {
C.superConstructorInvocation(int? i)
: super(i!, () {
i = null;
}, i);
}
main() {}
withIdentical_lhs(int? i) {}
withIdentical_rhs(int? i) {}
withNamedArguments(
int? i, void Function({required void Function() g, Object? x}) f) {}
withNamedArgumentsParenthesized(
int? i, void Function({required void Function() g, Object? x}) f) {}
withNamedArgumentsParenthesizedTwice(
int? i, void Function({required void Function() g, Object? x}) f) {}
withUnnamedArguments(int? i, void Function(void Function(), Object?) f) {}
withUnnamedArgumentsParenthesized(
int? i, void Function(void Function(), Object?) f) {}
withUnnamedArgumentsParenthesizedTwice(
int? i, void Function(void Function(), Object?) f) {}