Skip to content

Unescaped $ when using show on SymbolΒ #30303

Closed
@omus

Description

@omus

The output here is trying to display the Julia code for creating the Symbol below but it fails to show that $ is escaped:

julia> Symbol("USD\$")
Symbol("USD$")

julia> Symbol("USD$")
ERROR: syntax: invalid interpolation syntax: "$""

Metadata

Metadata

Assignees

Labels

display and printingAesthetics and correctness of printed representations of objects.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions