sort_constructors_first (#22575)

This commit is contained in:
Alexandre Ardhuin
2018-10-04 07:28:07 +02:00
committed by GitHub
parent a68b03e9ce
commit 2ea1d81cdc
74 changed files with 449 additions and 444 deletions

View File

@@ -281,8 +281,6 @@ Future<ProcessResult> _resultOfGradleTask({String workingDirectory, String task,
}
class _Dependencies {
String target;
Set<String> dependencies;
_Dependencies(String depfilePath) {
final RegExp _separatorExpr = RegExp(r'([^\\]) ');
final RegExp _escapeExpr = RegExp(r'\\(.)');
@@ -301,6 +299,9 @@ class _Dependencies {
.where((String path) => path.isNotEmpty)
.toSet();
}
String target;
Set<String> dependencies;
}
/// Returns [null] if target matches [expectedTarget], otherwise returns an error message.