| Index: pkg/analyzer2dart/test/end2end_test.dart
|
| diff --git a/pkg/analyzer2dart/test/end2end_test.dart b/pkg/analyzer2dart/test/end2end_test.dart
|
| index 288042db83314db5fbcb1c231950498d22af16b9..36f86eb514e15ed0ad3d7ca8b4f6af368afd4f40 100644
|
| --- a/pkg/analyzer2dart/test/end2end_test.dart
|
| +++ b/pkg/analyzer2dart/test/end2end_test.dart
|
| @@ -238,6 +238,30 @@ main() $NEW_BACKEND_COMMENT
|
| }
|
|
|
| ''');
|
| +
|
| + checkResult('''
|
| +bar(b) {}
|
| +foo(a) {
|
| + bar(a);
|
| +}
|
| +main() {
|
| + foo(null);
|
| +}
|
| +''', '''
|
| +bar(b) $NEW_BACKEND_COMMENT
|
| + {}
|
| +
|
| +foo(a) $NEW_BACKEND_COMMENT
|
| + {
|
| + bar(a);
|
| + }
|
| +
|
| +main() $NEW_BACKEND_COMMENT
|
| + {
|
| + foo(null);
|
| + }
|
| +
|
| +''');
|
| });
|
| }
|
|
|
|
|