commit | c27d9d72eee9e90bef1c06ed22f1bf5337a65d77 | [log] [tgz] |
---|---|---|
author | Samuel Rawlins <srawlins@google.com> | Tue Sep 19 07:51:37 2023 +0000 |
committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 19 07:51:37 2023 +0000 |
tree | 8144c1da578aab22d6bc099a99641e3e72cdfa85 | |
parent | e478de7e38ed98f21e6bf25c6d3e911bbaf134ab [diff] |
Revert "observatory: Ignore new static Warning" This reverts commit d3124b87e5f3156ab57fdec62cbb265bde0a1258. Reason for revert: unknown code for now. Original change's description: > observatory: Ignore new static Warning > > There are two spots where a nullable value is passed to a non-nullable > Future.value call, or a non-nullable Completer.complete call. In the > interest of not making any functional change, I'm just ignoring this > new code. > > ``` > warning - lib/src/service/object.dart:870:29 - 'Future<Isolate>.value' shouldn't be called with an argument of nullable type 'Isolate?'. Try passing a non-null argument. - nullable_argument_to_non_null_type > warning - lib/src/service/object.dart:1559:29 - 'Future<Class>.value' shouldn't be called with an argument of nullable type 'Class?'. Try passing a non-null argument. - nullable_argument_to_non_null_type > ``` > > Related to https://github.com/dart-lang/sdk/issues/53253 > > TEST=N/A > > Change-Id: I091990975a1f2b927e007564b6ca0658c6a34c20 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/324762 > Reviewed-by: Ben Konyi <bkonyi@google.com> > Auto-Submit: Samuel Rawlins <srawlins@google.com> > Commit-Queue: Samuel Rawlins <srawlins@google.com> Change-Id: Id5d033ca8601ea2f18aa9d2c8f8aeee8a2ceaf0d No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326725 Commit-Queue: Alexander Thomas <athom@google.com> Auto-Submit: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Alexander Thomas <athom@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Samuel Rawlins <srawlins@google.com>
Dart is:
Optimized for UI: Develop with a programming language specialized around the needs of user interface creation.
Productive: Make changes iteratively: use hot reload to see the result instantly in your running app.
Fast on all platforms: Compile to ARM & x64 machine code for mobile, desktop, and backend. Or compile to JavaScript for the web.
Dart's flexible compiler technology lets you run Dart code in different ways, depending on your target platform and goals:
Dart Native: For programs targeting devices (mobile, desktop, server, and more), Dart Native includes both a Dart VM with JIT (just-in-time) compilation and an AOT (ahead-of-time) compiler for producing machine code.
Dart Web: For programs targeting the web, Dart Web includes both a development time compiler (dartdevc) and a production time compiler (dart2js).
Dart is free and open source.
See LICENSE and PATENT_GRANT.
Visit dart.dev to learn more about the language, tools, and to find codelabs.
Browse pub.dev for more packages and libraries contributed by the community and the Dart team.
Our API reference documentation is published at api.dart.dev, based on the stable release. (We also publish docs from our beta and dev channels, as well as from the primary development branch).
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.