Add types to a bunch of uninitalized variables (#869)
Searched for lines matching `var \w+;`. This is a much weaker version of no-implicit-dynamic. This catches a bunch of places where we otherwise had dynamic calls and tightens up types a bit. Where we are relying on being able to parse to multiple types and then throw a specific excpetion or return null on bad types I added an explicit `dynamic`.
Showing
- README.md 2 additions, 2 deletionsREADME.md
- lib/src/executable.dart 3 additions, 2 deletionslib/src/executable.dart
- lib/src/runner.dart 3 additions, 3 deletionslib/src/runner.dart
- lib/src/runner/debugger.dart 1 addition, 1 deletionlib/src/runner/debugger.dart
- lib/src/runner/hybrid_listener.dart 1 addition, 1 deletionlib/src/runner/hybrid_listener.dart
- lib/src/runner/parse_metadata.dart 1 addition, 1 deletionlib/src/runner/parse_metadata.dart
- lib/src/runner/version.dart 1 addition, 1 deletionlib/src/runner/version.dart
- lib/src/runner/vm/platform.dart 2 additions, 2 deletionslib/src/runner/vm/platform.dart
- lib/src/util/remote_exception.dart 2 additions, 2 deletionslib/src/util/remote_exception.dart
- test/backend/declarer_test.dart 3 additions, 3 deletionstest/backend/declarer_test.dart
- test/backend/invoker_test.dart 5 additions, 4 deletionstest/backend/invoker_test.dart
- test/frontend/expect_async_test.dart 1 addition, 1 deletiontest/frontend/expect_async_test.dart
- test/runner/compact_reporter_test.dart 1 addition, 1 deletiontest/runner/compact_reporter_test.dart
- test/util/one_off_handler_test.dart 3 additions, 2 deletionstest/util/one_off_handler_test.dart
- test/util/path_handler_test.dart 3 additions, 2 deletionstest/util/path_handler_test.dart
Loading
Please register or sign in to comment