test(dart): add test cases for open issues

This commit is contained in:
Robert Brunhage 2023-04-12 18:09:10 +02:00 committed by Stephan Seitz
parent e68b81e7fd
commit e9de9cedf0
4 changed files with 36 additions and 2 deletions

View file

@ -1,4 +1,8 @@
void main() {
}
class Test {
List<String> get progress => [
'0',
];
}

View file

@ -0,0 +1,13 @@
class Something {
final int number;
final Function(int) write;
Something(this.number, this.write);
}
void test() {
Something(
1,
(int number) {
);
}

View file

@ -0,0 +1,9 @@
void test() {
final a = 69;
switch (a) {
case 69:
break;
case 420:
default:
}
}