Skip to content

Commit

Permalink
#2145. Rename Local Variable declaration tests. Delete duplicates (#2252
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sgrekhov authored Aug 31, 2023
1 parent 8a06964 commit 604da63
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 72 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,20 @@
main() {
{
int? id;
int? id1;
var id2;
final id3 = 1;
}
id = null;
id1 = null;
//^
// [analyzer] unspecified
// [cfe] unspecified
print(id2);
// ^^^
// [analyzer] unspecified
// [cfe] unspecified
print(id3);
// ^^^
// [analyzer] unspecified
// [cfe] unspecified
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,21 @@
main() {
{
int id;
int id1;
var id2;
final id3 = 1;
}
{
id = null;
// ^
id1 = null;
// ^^^
// [analyzer] unspecified
// [cfe] unspecified
print(id2);
// ^^^
// [analyzer] unspecified
// [cfe] unspecified
print(id3);
// ^^^
// [analyzer] unspecified
// [cfe] unspecified
}
Expand Down
21 changes: 0 additions & 21 deletions Language/Statements/Local_Variable_Declaration/syntax_t18.dart

This file was deleted.

25 changes: 0 additions & 25 deletions Language/Statements/Local_Variable_Declaration/syntax_t19.dart

This file was deleted.

21 changes: 0 additions & 21 deletions Language/Statements/Local_Variable_Declaration/syntax_t20.dart

This file was deleted.

0 comments on commit 604da63

Please sign in to comment.