Lasse R.H. Nielsen

Results 1773 comments of Lasse R.H. Nielsen

I think the web socket semantics should not be affected by us choosing to use a `Steam` to expose it. When we do that, we can choose to use either...

Also, for the record, very few types are strictly incompatible, to the point where no object can implement both, and also the `==` operator can accept objects of other types,...

That looks like a `toJson` function. Seems wasteful to parts parse into Yaml, and then convert it (eagerly) into a simpler format.

Yes, it's intended. Maybe we can do better, but the current inference specification doesn't. The context type of `String? Function(String?)` does not constrain the type parameter of `Validator()` by itself....

Ack, `?timeIt('start')` should return `Null`. Not just for the element typing, B But that too. A `?voidExpression`, had it been allowed, would only have been allowed in `void`-element collections anyway....

I would very much recommend not adding any way to import a library that _doesn't work_. I'd rather release a package with conditionally exported stub libraries, like `import 'package: mock_platform/mirrors.dart';`,...

It's a case of "non-abstract class doesn't implement its interface", here it has an implementation of the member, but that implementation is not valid for the member signature. If the...

> but A.field ('Other? Function()') isn't a valid override of the signature of B.field ('Another? Function()'). I'd say "... isn't a valid implementation of ...". We use the override type...

The text is: "Do not modify a map (add or remove keys) ". Changing values are not mentioned *because* it doesn't count as modifying the (structure of the) map. Could...

Linux (ext4 with `casefold` enabled) reports the path given as argument, not the name on disk. ```dart import 'dart:io'; void main() async { final sep = Platform.pathSeparator; var dir =...