Skip to content

Unicode characters are escaped in pretty-printed Text values #1943

Closed
@xsebek

Description

Describe the bug
The format command escapes the Unicode character .

To Reproduce
Type in REPL:

> tydef L a = rec l. a * 1 end
> format {(undefined) : L a}
it : Text = "{undefined : \8704 a. L a}"

Expected behavior
The format command should show the ASCII forall or Unicode .

Additional context
This could be related to escaped characters in strings, like \n.

Discovered while testing #1928 (comment).

Metadata

Assignees

No one assigned

    Labels

    C-Low Hanging FruitIdeal issue for new contributors.L-Pretty-printingPretty-printing ASTs or values into a string representation.S-Nice to haveThe bug fix or feature would be nice but doesn't currently have much negative impact.Z-User ExperienceThis issue seeks to make the game more enjoyable to play.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions