Improve error message for --incompatible_string_join_requires_strings
Fixes
Closes
@@ -115,7 +115,10 @@ public final class StringModule {
if (!(item instanceof String)) {
throw new EvalException(
loc,
- "sequence element must be a string (got '" + EvalUtils.getDataTypeName(item) + "')");
+ "sequence element must be a string (got '"
+ + EvalUtils.getDataTypeName(item)
+ + "'). See https://github.com/bazelbuild/bazel/issues/7802 for information about "
+ + "--incompatible_string_join_requires_strings.");
}
}
}
