Created with <3 with dartpad.dev.
Created
January 5, 2023 18:10
-
-
Save Zekfad/f30e144153e7e21f9d61bc97f025846c to your computer and use it in GitHub Desktop.
dart compiler crash report
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main(List<String> arguments) { | |
} | |
void test(int positional, {int named1 = 0, int named2 = 0}) {} | |
class Sueta { | |
static void test(int positional, {int named1 = 0, int named2 = 0}) {} | |
} | |
extension SuetaExtension on Sueta { | |
static void test(int pos, {int named1 = 0, int named2 = 0}) {} | |
} | |
void test1() { | |
test(named1: 0, 1, named2: 0); | |
} | |
void test2() { | |
Sueta.test(named1: 0, 1, named2: 0); | |
} | |
/// cannot compile | |
void test3() { | |
SuetaExtension.test(named1: 0, 1, named2: 0); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment