-
Is it possible to add an option to restart the dart analysis server after the build runner is completed? Currently we have to do this manually when there are external changes from the build runner.
-
Question: Are lints defined in `analysis_options.yaml` only supposed to work when there is a `pubspec.yaml` right next to it? I only see lints show up in my editor in that situation.
However, if I …
-
The following code does not emit a dartanalyzer error/warning/hint
import 'dart:async';
typedef void VoidReturnType(String msg);
bar(VoidReturnType function, String msg) {
function(msg)…
-
Right now these tests are disabled in the status file. Go through and fix the ones that have analyzer errors. There are 42 of them, plus the ones that are also disabled for ddc.
-
I believe that we do want to write effective dart code, but this might not be feasible for new learners. Sometimes too many lints can distracting. So I suggest that we use [`package:lints`](https://pu…
-
(Parent issue #44897)
As of a42244f73b27256eca44def4daa552e91c2dbc55, the analyzer now generates context messages in some circumstances explaining why type promotion failed. `dartanalyzer` and `da…
-
The [recommended Dart format command](https://dart.dev/tools/dart-format) is now `dart format` instead of `dartfmt`. The file `docs-travis-ci-com/user/languages/dart.md` should be updated to reflect t…
-
The `flutter` tool already basically provides a wrapper around dartanalyzer. Maybe it could provide a wrapper around `dartdoc` too?
Currently `dartdoc` requires setting the `FLUTTER_ROOT` environm…
-
The test `tests/language/bad_raw_string_negative_test.dart` includes a raw string containing a new line, and this cannot be derived from stringLiteral in the language specification, so it should be a …
-
**Steps to Reproduce**
1. `git clone git@github.com:google/file.dart.git`
2. `cd file.dart`
3. `dartanalyzer .`
**Expected Results**
No analyzer warnings. At least, until very recently, …