-
We should show a meaningful error message if ui-as-code features are used with SDK version `>=2.1.0 =2.1.0 =2.3.0
-
Currently, Dart files are detected like this:
```dart
var dartFiles =
await listFiles(pkgDir, endsWith: '.dart', deleteBadExtracted: true)
.where((file) => file.startsWith('b…
-
code
```dart
import 'package:process_run/process_run.dart';
var r = await run('dart', ['--version']);
print("stdout " + r.stdout);
print("stderr " + r.stderr);
```
Unexpected result
```sh
…
-
See https://github.com/dart-lang/co19/issues/555
I see that the test has now `/// static type warning` comment, but it seems that this has no semantic meaning, at least the test runner is not happy…
-
*@johnpryan commented on Mar 31, 2020, 4:01 PM UTC:*
## Use case
The reccomended completion for widgets with a `children` parameter is list literal with a parameterized type (`[]`).
This isn't nece…
ghost updated
4 years ago
-
## Is your feature request related to a problem? Please describe.
No
## Describe the solution you'd like
A command to start manual diagnostics
## Describe alternatives you've considered
N/A
…
-
From an opted in library today all legacy types are effectively treated as non-nullable. While convenient, this is incorrect in all cases where the legacy api is intended to be nullable. This is a hug…
-
From the spec: `It is a warning to use a null aware operator (?., ?[], ?.., ??, ??=, or ...?) on an expression of type T if T is strictly non-nullable.`
```
--- Command "dart2analyzer" (took 29m…
-
According to the NNBD [specification ](https://github.com/dart-lang/language/blob/master/accepted/future-releases/nnbd/feature-specification.md#errors-and-warnings)
> It is a compile time error to …
-
Consider the following:
```dart
final String foo = null;
void main() {
if(foo?.isNotEmpty){
print("true");
} else {
print("not true");
}
}
```
Even though this executes…