implicit-casts:false in dev (#45787)

This commit is contained in:
Alexandre Ardhuin
2019-12-05 22:34:06 +01:00
committed by GitHub
parent fa0c49d775
commit ec1a015045
68 changed files with 411 additions and 396 deletions

View File

@@ -138,11 +138,10 @@ class CommandArgs {
bool operator==(Object other) {
if (other.runtimeType != CommandArgs)
return false;
final CommandArgs otherCmd = other;
return otherCmd.command == command &&
const ListEquality<String>().equals(otherCmd.arguments, arguments) &&
const MapEquality<String, String>().equals(otherCmd.environment, environment);
return other is CommandArgs
&& other.command == command
&& const ListEquality<String>().equals(other.arguments, arguments)
&& const MapEquality<String, String>().equals(other.environment, environment);
}
@override