Bob Nystrom
Bob Nystrom
For reference, I took a look at the Swift spec. The enum shorthand thing in Swift is called "[implicit member access](https://docs.swift.org/swift-book/documentation/the-swift-programming-language/expressions#Implicit-Member-Expression)" (a pretty nice name, I think). It does allow...
The FAQ is talking about collection literals. The bug here is about parameter and argument lists, which are different. (The example is a little confusing here because the parameters are...
With the [forthcoming](https://github.com/dart-lang/dart_style/issues/1403) [tall style](https://github.com/dart-lang/dart_style/issues/1253), you get: ```dart _Rule OR([ a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, //...
Oh, wow, interesting. Yeah, the new style doesn't recognize an index operator expression as a being block-formattable, which is why you get the extra indentation. I had never even considered...
Yeah, I agree this doesn't look great.
I agree with Kevin. Maybe say: > Note: You may have heard of the part directive, which allows you to split a library into multiple Dart files. Part files are...
The main problems is that those part files: * Share the same private scope as the library and all other parts. * Can't contain their own imports. So you don't...
I think [this comment](https://github.com/dart-lang/site-www/issues/2371#issuecomment-620261086) is still decent guidance. We don't really want users hand authoring part files. They're much better off using separate libraries and using `export` to compose them....
Handling selection markers in whitespace is really difficult. The formatter doesn't really model the original whitespace in its internal representation. It only tracks the number of newlines between tokens for...
> because I don't know how bad the issue here is No one seems to have complained over nearly a decade, so I don't think it's a big deal.