Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
incompatible_restrict_string_escapes: Restrict string escapes #8380
When the flag
For example, the sequence
The fix is simple. If you need a literal backslash, escape it:
- x = "\w" + x = "\\w"
Buildifier will be updated to automatically fix this.
We intend to flip this flag with Bazel 1.0.