| int topLevelMethod1a([int x]); | |
| augment int topLevelMethod1a([int x = 0]) => x; | |
| int topLevelMethod1b([int x = 0]); | |
| augment int topLevelMethod1b([int x]) => x; | |
| int topLevelMethod1c([int x]); | |
| augment int topLevelMethod1c([int x]) => x; | |
| augment int topLevelMethod1c([int x = 0]); | |
| int topLevelMethod1d([int x]); | |
| augment int topLevelMethod1d([int x = 0]); | |
| augment int topLevelMethod1d([int x]) => x; | |
| int topLevelMethod1e([int x = 0]); | |
| augment int topLevelMethod1e([int x = 0]) => x; | |
| int topLevelMethod1f([int x]); | |
| augment int topLevelMethod1f([int x]) => x; | |
| int topLevelMethod2a([int x, int y]); | |
| augment int topLevelMethod2a([int x = 0, int y = 0]) => x + y; | |
| int topLevelMethod2b([int x = 0, int y = 0]); | |
| augment int topLevelMethod2b([int x, int y]) => x + y; | |
| int topLevelMethod2c([int x = 0, int y]); | |
| augment int topLevelMethod2c([int x, int y = 0]) => x + y; | |
| class Class { | |
| final int result; | |
| new([this.result = -1]); | |
| new generative1a([int x]); | |
| augment new generative1a([int x = 0]) : result = x; | |
| new generative1b([int x = 0]); | |
| augment new generative1b([int x]) : result = x; | |
| new generative1c([int x]); | |
| augment new generative1c([int x]) : result = x; | |
| augment new generative1c([int x = 0]); | |
| new generative1d([int x]); | |
| augment new generative1d([int x = 0]); | |
| augment new generative1d([int x]) : result = x; | |
| new generative1e([int x = 0]); | |
| augment new generative1e([int x = 0]) : result = x; | |
| new generative1f([int x]); | |
| augment new generative1f([int x]) : result = x; | |
| new generative2a([int x, int y]); | |
| augment new generative2a([int x = 0, int y = 0]) : result = x + y; | |
| new generative2b([int x = 0, int y = 0]); | |
| augment new generative2b([int x, int y]) : result = x + y; | |
| new generative2c([int x = 0, int y]); | |
| augment new generative2c([int x, int y = 0]) : result = x + y; | |
| int instanceMethod1a([int x]); | |
| augment int instanceMethod1a([int x = 0]) => x; | |
| int instanceMethod1b([int x = 0]); | |
| augment int instanceMethod1b([int x]) => x; | |
| int instanceMethod1c([int x]); | |
| augment int instanceMethod1c([int x]) => x; | |
| augment int instanceMethod1c([int x = 0]); | |
| int instanceMethod1d([int x]); | |
| augment int instanceMethod1d([int x = 0]); | |
| augment int instanceMethod1d([int x]) => x; | |
| int instanceMethod1e([int x = 0]); | |
| augment int instanceMethod1e([int x = 0]) => x; | |
| int instanceMethod1f([int x]); | |
| augment int instanceMethod1f([int x]) => x; | |
| int instanceMethod2a([int x, int y]); | |
| augment int instanceMethod2a([int x = 0, int y = 0]) => x + y; | |
| int instanceMethod2b([int x = 0, int y = 0]); | |
| augment int instanceMethod2b([int x, int y]) => x + y; | |
| int instanceMethod2c([int x = 0, int y]); | |
| augment int instanceMethod2c([int x, int y = 0]) => x + y; | |
| static int staticMethod1a([int x]); | |
| augment static int staticMethod1a([int x = 0]) => x; | |
| static int staticMethod1b([int x = 0]); | |
| augment static int staticMethod1b([int x]) => x; | |
| static int staticMethod1c([int x]); | |
| augment static int staticMethod1c([int x]) => x; | |
| augment static int staticMethod1c([int x = 0]); | |
| static int staticMethod1d([int x]); | |
| augment static int staticMethod1d([int x = 0]); | |
| augment static int staticMethod1d([int x]) => x; | |
| static int staticMethod1e([int x = 0]); | |
| augment static int staticMethod1e([int x = 0]) => x; | |
| static int staticMethod1f([int x]); | |
| augment static int staticMethod1f([int x]) => x; | |
| static int staticMethod2a([int x, int y]); | |
| augment static int staticMethod2a([int x = 0, int y = 0]) => x + y; | |
| static int staticMethod2b([int x = 0, int y = 0]); | |
| augment static int staticMethod2b([int x, int y]) => x + y; | |
| static int staticMethod2c([int x = 0, int y]); | |
| augment static int staticMethod2c([int x, int y = 0]) => x + y; | |
| } | |
| main() {} | |
| expect(expected, actual) {} |