Lasse R.H. Nielsen
Lasse R.H. Nielsen
It's unsurprising that things break when you implement `Future` incorrectly. Since `await` is defined in terms of calling `then`, and `then` is specified as *not* calling the callback during the...
I don't want to make the existing deep equality check for cycles. That's a lot of work (and memory for caching) which has no effect in most cases. We can...
It does make sense, yes.
We would, at the same time, change `package:stream_transform` to export the extensions from `package:async` and therefore depend on a version of `package:async` great enough to have those. It's still possible...
We now have [`binarySeachBy`](https://pub.dev/documentation/collection/latest/collection/ListExtensions/binarySearchBy.html).
It's a tricky problem I was about to suggest using a `Finalizer` or weak reference, but the disposer actually do need to retain a reference to the object, even if...
Adding an extension method is like adding a top-level name - it can conflict with other declarations with the same name in the same scope. We don't generally disallow adding...
The safest approach appears to be to have an extension declaration per extension method, because then you can hide individual extensions without losing any other extension method. There is no...
This is definitely the right *place* for such an extension, should we want to add it, since it creates an iterable. We've considered such "range" functions on `int` before, and...
If we didn't have list-comprehensions, I'd agree more. ```dart var squares = [for (var x in list) x * x]; ``` That said, we are doing `for`-`in` iteration over lists...