diff --git a/data/fixtures/scopes/dart/ifStatement.scope b/data/fixtures/scopes/dart/ifStatement.scope index 771c9e7567..679842a5c8 100644 --- a/data/fixtures/scopes/dart/ifStatement.scope +++ b/data/fixtures/scopes/dart/ifStatement.scope @@ -1,3 +1,5 @@ +foo() { if(true) { } +} --- diff --git a/data/playground/dart.dart b/data/playground/dart.dart index b55e5f6d46..94f41c2f84 100644 --- a/data/playground/dart.dart +++ b/data/playground/dart.dart @@ -1,7 +1,3 @@ -void main() { - hi() { - if (true) { - return true; - } - } +void foo() { + if (true) {} }