-
Dart VM version: 2.8.0-edge.40f23c735f04433e4fc334fbd674474bd3de0f8b (Tue Jan 28 01:14:48 2020 +0000) on "linux_x64"
This issue is similar with the issue #40453 closed recently. The difference is t…
iarkh updated
4 years ago
-
The following:
```dart
T JS(dynamic x) {
return x as T;
}
main() {
dynamic x = 42;
Object y = JS(x);
print(y);
}
```
triggers (on `Object y = JS(x)`):
```
Couldn't infer t…
-
Dart VM version: 2.8.0-edge.40f23c735f04433e4fc334fbd674474bd3de0f8b (Tue Jan 28 01:14:48 2020 +0000) on "linux_x64"
According to NNBD Spec:
> The legacy erasure of a type T denoted LEGACY_ERASURE…
iarkh updated
4 years ago
-
This test invokes `C` constructor that has a required positional parameter, but does not provide the argument.
```dart
// @dart=2.6
// SharedOptions=--enable-experiment=non-nullable
import "opte…
-
There are new test failures on [[co19] Roll co19 to 9934d8540d097366287267519413e888a7f6a482](https://dart-review.googlesource.com/c/sdk/+/141887).
The tests
```
co19/LanguageFeatures/nnbd/expres…
-
We found an issue that seems to indicate that analyzer may be inferring the wrong type for a function closure under nnbd.
@joshualitt hit this issue while migrating the dart2js patch files and seei…
-
Take:
```dart
main() {
var L = 33;
while (false) if (true) break L;
}
```
Run:
```sh
$ dartanalyzer --enable-experiment=non-nullable temp.dart
```
Behold:
```
Unhandled exce…
-
Run analyzer with `--enable-experiment=non-nullable` on the following code
```dart
class C {
}
extension Ext on C {
int operator [](int index) => index;
}
main() {
C c = C();
Ext(c)…
-
Tha code below produces warnings in analyzer but no any issues on VM
```dart
import "../../Utils/expect.dart";
class C {
List? _list = [3, 1, 4];
int operator [](int index) {
List? l…
-
The SDK (i.e. core libraries) have been forked in the repo into sdk_nnbd. Once #38662 is done and there is a flag available in the build files to detect whether that should be used, the next step is t…