Lasse R.H. Nielsen

Results 1618 comments of Lasse R.H. Nielsen

Don't have to try to be smart. This was a very-best effort attempt to not run `pub get` unless it's absolutely needed. The non-smart approach is: - find nearest enclosing...

One issue is that the IANA list is icky mine types, not a napping to file extensions. I'm not sure there is a canonical mapping. The point of using media...

Yet aother option is to be a vetted subset of another large list. If something is not on that list, we won't add it either. If it is, and we...

Is there some way we can make `pub get` be faster? Say a `--quick-check` flag which makes it no do anything if the `.dart_tool/package_config.json` exists and was created later than...

@devoncarew We seem to have issues with choosing the default extension. Not sure where to find a credible and complete source of truth, though.

One use case could be receiving a file over HTTP and wanting to save it locally with a meaningful extension. Until file systems start allowing files to have media types,...

Hear, hear on the stronger `void` requirements. However, it would mean that `set foo(int x) => _x = x;` would be disallowed, and people really do love their one-line setters....

@lukehutch Exactly, so `set foo(int x) => _x = x;` has type `int` and an implicit return type of `void`, so that declaration would be an error with the rule...