inline | |
class I { | |
final int it; | |
I(int x, [int? y]) : it = x + (y ?? 42); | |
void m(String s, [int i = 1]) {} | |
} | |
inline | |
class I2 { | |
final int it; | |
I2(int x, {int? y}) : it = x + (y ?? 87); | |
void m(String s, {int i = 1}) {} | |
} | |
main() {} | |
expect(expected, actual) {} |