You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the cascade to be indented 2 or 4 spaces more than lib.*
Iterable<DeclarationMirror> _sortedLibraryDeclarations(LibraryMirror lib) =>
lib.declarations.values
.where((d) => d is ClassMirror || d is MethodMirror)
.toList()
..sort((a, b) {
if (a.runtimeType == b.runtimeType) {
return _declarationName(a).compareTo(_declarationName(b));
}
if (a is MethodMirror && b is ClassMirror) return -1;
if (a is ClassMirror && b is MethodMirror) return 1;
return 0;
});
The text was updated successfully, but these errors were encountered:
Actually looking at the example, to me it seems like it should be six.
If I indent it the same as the .toList() it makes it seem like it's being sent to the original receiver. It's being sent to the result of toList(), so it seems like it should be indented relative to that.
I would expect the cascade to be indented 2 or 4 spaces more than
lib.*
The text was updated successfully, but these errors were encountered: