-
The following program is accepted by `dartanalyzer` and `dartanalyzer --enable-experiment=no-non-nullable` (note: it is _disabling_ nnbd):
```dart
main() {
dynamic d = 42;
Never n = d;
}
`…
-
I believe that there are four steps in this process:
- [x] 1. Copy the code from the old repository to the new repository.
- [x] 2. Fix the build system to build from the new location rather than the …
-
NNBD [specification](https://github.com/dart-lang/language/blob/master/accepted/future-releases/nnbd/feature-specification.md#errors-and-warnings) reads
> If T is an enum type, it is a warning if t…
-
It is a warning to use `?..` when the target is strictly non-nullable.
See the [spec](https://github.com/dart-lang/language/blob/master/accepted/future-releases/nnbd/feature-specification.md). `It is…
-
[Edit Jun 12th 2019: This issue is now concerned with the fact that the analyzer emits a somewhat misleading error message for the example below: It says 'assignable', but the reported error is actual…
iarkh updated
4 years ago
-
The `==` operator ends up calling the `operator==` method on the left operand if neither operand is `null`. It's not the *same* as calling `operator==`, but it behaves mostly the same. Prior to Null S…
-
I have not published a new version for [hive](https://pub.dev/packages/hive#-analysis-tab-) but I'm getting the following error and only a score of 64 (a few hours ago it was 98)
```
Running darta…
-
```dart
bool f(int x) {
switch (x) {
case 1:
continue a;
a:
default:
return true;
}
}
```
yields the analyzer info _This function declares a return type of 'bool…
-
Dart VM version: 2.8.0-edge.40f23c735f04433e4fc334fbd674474bd3de0f8b (Tue Jan 28 01:14:48 2020 +0000) on "linux_x64"
This issue is related with the issues #39917, #40387 somehow.
Please let me k…
iarkh updated
4 years ago
-
```
~/.nnbd_trial_migration/async-master φ ~/dart/sdk/out/ReleaseX64/dart-sdk/bin/dartanalyzer --enable-experiment=non-nullable --dart-sdk=/home/mfairhurst//dart/sdk/out/ReleaseX64NNBD/dart-sdk lib/ …