Lasse R.H. Nielsen

Results 152 issues of Lasse R.H. Nielsen

Inspired by #2321, this is an idea for performing "parallel" asynchronous computations in `async` functions. Rather than doing parallel `await`s on futures, this feature allows separate asynchronous expressions to be...

feature

tl;dr: I don't think there is any problem with this, it should just work. Writing this to give a place to write concerns, if we come up with some. If...

records

## Proposal I propos that the "name" in an extractor pattern is extended to allow *any non-assignment cascade selector chain* where arguments must be constant values. That is, it starts...

feature
patterns-later

There is currently no way to version libraries in the same way that we version the Dart language. A library has a single public API, no matter the language version...

feature
language-versioning

The current proposal for tuples allow named entries and positional entries, and can in many ways be seen as an abstraction over argument lists. It's not complete, because it doesn't...

question
patterns-later

tl;dr: Don't allow `var X` in type argument position of a type alias unless the variable occurs precisely once in the full expansion, and it occurs in type argument position...

patterns-later

The `dart:async` library has a number of error callback functions which are typed as `Function`, so that they can allow both a `... Function(Object)` and `Function(Object, StackTrace)` as argument. Accepting...

area-library
library-async
type-enhancement
enhancement-breaking-change

```dart class C { final int? _x; C(this._x); @pragma("dart2js:never-inline") void manual() { var x = _x; if (x != null) print(x); else print("null"); } @pragma("dart2js:never-inline") void pattern() { if (_x...

web-dart2js
type-performance
P2
area-web
cfe-encodings

Nothing here should change behavior or API, only implementation and presentation. Introduced the `Mutex` class because `Pool` seemed overqualified/overcomplicated for the job of being a single-lock mutex. Added a `JsonConvertible`...

I have two use-cases for allowing an extension type to declare an abstract member. I would encourage us to have at least the first feature in the initial feature release,...

request
extension-types
extension-types-later