mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:01:20 +00:00
b288fc61d6
Named optionals without defaults should be nullable (or we need default). Fixes: output: org-dartlang-sdk:///dart-sdk/lib/isolate/isolate.dart:340:15: Warning: Optional parameter 'packageRoot' doesn't have a default value and its type 'Uri' doesn't allow null. - 'Uri' is from 'dart:core'. Uri packageRoot, ^^^^^^^^^^^ org-dartlang-sdk:///dart-sdk/lib/isolate/isolate.dart:525:15: Warning: Optional parameter 'response' doesn't have a default value and its type 'Object' doesn't allow null. - 'Object' is from 'dart:core'. {Object response, int priority = immediate}); Change-Id: I040939a4c058275d5e083a85b84317d76f7a568b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135040 Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Vijay Menon <vsm@google.com> Auto-Submit: Vijay Menon <vsm@google.com> |
||
---|---|---|
.. | ||
capability.dart | ||
isolate.dart | ||
isolate_sources.gni |