Skip to content

Commit 9db8e4a

Browse files
committed
fix: ifStatement scope
1 parent 77f4efa commit 9db8e4a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
foo() {
12
if(true) { }
3+
}
24
---
35

data/playground/dart.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
void main() {
2-
hi() {
3-
if (true) {
4-
return true;
5-
}
6-
}
1+
void foo() {
2+
if (true) {}
73
}

0 commit comments

Comments
 (0)