Index: pkg/path/lib/path.dart |
diff --git a/pkg/path/lib/path.dart b/pkg/path/lib/path.dart |
index 854d4da3f5d48f2c9757730de4657282facc889a..3bd23323b0345de558047b114a62a37f92c7b83b 100644 |
--- a/pkg/path/lib/path.dart |
+++ b/pkg/path/lib/path.dart |
@@ -179,7 +179,7 @@ _validateArgList(String method, List<String> args) { |
var message = new StringBuffer(); |
message.add("$method("); |
message.add(args.take(numArgs) |
- .mappedBy((arg) => arg == null ? "null" : '"$arg"') |
+ .map((arg) => arg == null ? "null" : '"$arg"') |
.join(", ")); |
message.add("): part ${i - 1} was null, but part $i was not."); |
throw new ArgumentError(message.toString()); |