Skip to content

backslashes in JS string are lost in zig #878

@krichprollsch

Description

@krichprollsch

When a zig funtion gets a js string as argument, \ characters are lost.

We can reproduce by adding a following js test:

.{ "'foo\\:bar'", "foo\\:bar" },

the result is:

foo\:bar

Got:
foo:bar

Case: 10
'foo\:bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions