mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-04 12:30:01 -04:00
31 lines
283 B
Dart
31 lines
283 B
Dart
|
|
void test() {
|
||
|
|
switch(a) {
|
||
|
|
case 1:
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
void test() {
|
||
|
|
switch(a) {
|
||
|
|
default:
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
void test_break_dedent() {
|
||
|
|
switch(x) {
|
||
|
|
case 1:
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
switch(y) {
|
||
|
|
case 2:
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
void test_multi_case() {
|
||
|
|
switch(x) {
|
||
|
|
case 1:
|
||
|
|
case 2:
|
||
|
|
}
|
||
|
|
}
|