dart_style
dart_style copied to clipboard
`dart format`: comment on return of arrow function
In this CL, dart format produces the following:
List<E> _toListGrowable() =>
// slice(0) is slightly faster than slice()
JSArray<E>.markGrowable(JS('', '#.slice(0)', this));
It used to be formatted like this:
List<E> _toListGrowable() =>
// slice(0) is slightly faster than slice()
JSArray<E>.markGrowable(JS('', '#.slice(0)', this));
cc @rakudrama
Duplicate of https://github.com/dart-lang/dart_style/issues/1645