Bob Nystrom

Results 86 issues of Bob Nystrom

A function call with a trailing argument list in a switch expression currently formats like this: ```dart main() { { return TextFieldTapRegion( onLongPressMoveUpdate: (longPressMoveUpdateDetails) { (switch (Theme.of(this.context).platform) { TargetPlatform.iOS ||...

common
easy
safe
wrong

A function expression may have a `=>` body followed by a block-like expression, like a list, map, switch expression, or even another function expression. Right now, that inner expression's block...

rare
difficult
safe
meh

The Dart SDK now exposes a single `dart` command line executable with subcommands for all of the main tasks you might like to perform: run code, run tests, etc. To...

meta

If the formatter detects that it erroneously makes a non-whitespace change, it aborts with an exception asking users to file a bug. In many cases, the reason it gets into...

enhancement

The formatter currently produces: ```dart main() { { { { { print([ Class( aaaaaaaaaaaaaaaaaaaaaaaaaaa, 'Aaaa-aaaaa aaaaaaa aaaaaaaaaaaaaaa', aaaAaaaa: 130, ccccccc: 'Aaa aaaaaaa aaaaaa aa aaaaaaaaaaaaaa aaaaa aaaaaaaa aa ' 'aaaaaaaaaaaaaa...

rare
easy
safe
wrong

The formatter produces this output: ```dart main() { foo.bar.create(Thing() ..a = b ..c = d) ..method().chain((_) => lambda); } ``` Note that the last cascade (`..method()`) is *not* on the...

rare
difficult
safe
bad

The splitting rules for assert() statements follow the general argument rules. Those rules try to keep a pair of arguments together by moving them to the second line if possible....

rare
easy
safe
meh

This is the specification-specific (!) issue for dart-lang/sdk#26996. That issue has the details.

small-feature

_**Admin comment**: this is being implemented, [feature specification](https://github.com/dart-lang/language/blob/main/accepted/future-releases/wildcard-variables/feature-specification.md), [implementation issue](https://github.com/dart-lang/sdk/issues/55673)._ Pattern matching brought a new way to declare variables. Inside patterns, any variable whose name is `_` is considered a...

feature
wildcard-variables

Right now, we're using: https://cloud.google.com/appengine/docs/python/googlestorage/ It's deprecated in favor of: https://cloud.google.com/appengine/docs/python/googlecloudstorageclient/