Skip to content

Commit

Permalink
Make analyzer happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mhausner committed Mar 26, 2015
1 parent 14ddfb7 commit bbf2eef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/language/regress_22936_test.dart
Expand Up @@ -15,12 +15,10 @@ foo() {

main() {
final x = null;
bool assignmentFailed = false;
try {
x = foo();
x = /// 01: static type warning
foo();
} on NoSuchMethodError {
assignmentFailed = true;
}
Expect.isTrue(fooCalled);
Expect.isTrue(assignmentFailed);
}

0 comments on commit bbf2eef

Please sign in to comment.