-
Using a `try/catch` around an `await for` behaves differently on DDC from other platforms. In DDC the catch block is never reached and the stream never completes.
```dart
import 'dart:async';
v…
-
I've been recommended *not using* a `sync*` function to generate an iterable in platform code because it is too slow.
We should not have a language feature that is so slow that you are better off no…
-
sdk/lib/core/bool.dart has the following documentation which is not quite true when running code on the VM.
// The .fromEnvironment() constructors are special in that we do not want
// users to …
-
Hi!
I'm having trouble with a StreamController that does not issue done-event.
Here is the minimum code that reproduces the problem:
```Dart
import 'dart:async';
import 'package:test/test.dart'…
ghost updated
3 years ago
-
The following program:
```dart
Future main() async {
await for (var _ in Stream.empty());
}
```
is rejected by the VM and dart2js (and also dartdevc if using `pub run build_runner build`) …
-
Following the discussion in issue #31165, the language specification should no longer make it a static warning when an instance method has a name clash with a static method in a superclass. Here's the…
-
after upgrade to v4.1.0, always return error "Fernet key must be 32 url-safe base64-encoded bytes."
but tested with 4.0.1 and 4.0.2 work fine...
-
The `DateTime.parse` functionality should be able to interpret the `HttpDate.parse` strings.
The `HttpDate.parse` function should then be removed.
-
Sink GetLength operators to use when this helps V8 eliminate bound checks (or reintroduce them in the place of the loop control constant for known length objects.)
-
Following tests expect that using prefixed undeclared identifier in static context in error.
prefix12_negative_test: Fail
prefix2_negative_test: Fail
See also http://code.google.com/p/dart/issues/de…