Improve error message for incompatible_string_join_requires_strings #8507
Labels
bad error messaging
Issues where users get stuck because they don't understand what they did wrong
P1
I'll work on this now. (Assignee required)
When the flag
--incompatible_string_join_requires_strings
is enabled, Baze checks that each element is a string (see #7802).However, the error message is just a type error. This can be confusing for users who are upgrading Bazel. The error message should at least include the name of the flag.
Since we're flipping the flag in Bazel 0.27, it would be great to improve the error message before that. @jin, @c-parsons, do you have time to do it this week? (tomorrow is public holiday in Germany)
Thanks!
The text was updated successfully, but these errors were encountered: