Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend
static_show()
escaping to any illegal identifier via var"".
Previously, it was only escaping names with a `#` in them, but now it will escape all names that are illegal identifiers. Before: ```julia julia> struct var"a%b+c" x::Int end julia> println(static_shown(var"a%b+c")) Main.a%b+c julia> println(static_shown(var"a%b+c"(1))) Main.a%b+c(x=1) ``` After: ```julia julia> struct var"a%b+c" x::Int end julia> println(static_shown(var"a%b+c")) Main.var"a%b+c" julia> println(static_shown(var"a%b+c"(1))) Main.var"a%b+c"(x=1) ```
- Loading branch information