Lasse R.H. Nielsen

Results 1134 comments of Lasse R.H. Nielsen

Seems like it should be possible to filter a token-stream to include only the content of the doc-comment. After all, detecting comment-prefixes is how you know where the comment ends....

> Currently, the Dart standard library does not provide a pre-built Stack class like Java You are intended to use `List` for anything you'd want to use a stack for....

An extension applies to a type *iff* the static type of the extension is a subtype of the `on` type of the extension, *after* doing type inference for any type...

We may not be able to say which erasure is required, but we can require the behavior to be consistent. Every platform agrees on the constructor invocation, so it's more...

I agree that the interface argument suggests that the extension members should be based on the promoted type. The difference is that while a type variable itself has no members,...

Seems to be the absolute path which breaks `copy` (and `copySync`) for me. The following shows the same error: ```dart import "dart:io"; void main() { var test = File(r'test.'); try...

Disallowing the same mixin being applied twice in the same inheritance chain has been discussed before. Fx. https://github.com/dart-lang/sdk/issues/28794 From the language perspective, there is no problem with allowing it, the...

Ignoring something the author writes is unlikely. Even if we do that, there'll almost certainly be an analyzer warning, or recommended lint, about "unnecessary mixin", that many projects will treat...

If we want to catch this at the application point, maybe the thing to focus on is that `Disposable.dispose` does not have an `@override` annotation, and it overrides a `@mustCallSuper`-annotated...

Moving to area-devexp. The fix here seems to be better `mustCallSuper` handling, not changing mixins.