Skip to content

Escape any operators characters in objects.#567

Merged
paf31 merged 1 commit intopurescript:masterfrom
joneshf:master
Aug 21, 2014
Merged

Escape any operators characters in objects.#567
paf31 merged 1 commit intopurescript:masterfrom
joneshf:master

Conversation

@joneshf
Copy link
Copy Markdown
Member

@joneshf joneshf commented Aug 21, 2014

Ran into this when using a record with a quoted name, like:

type Foo = {"foo-bar" :: Bar}

Externs would not escape the field, then parsing of externs later on will fail on the - symbol.
Couldn't think of how to test with the way cabal is working at the moment.

Let me know if I messed up/missed something.

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling f9de125 on joneshf:master into 0239693 on purescript:master.

@garyb
Copy link
Copy Markdown
Member

garyb commented Aug 21, 2014

👍

paf31 added a commit that referenced this pull request Aug 21, 2014
Escape any operators characters in objects.
@paf31 paf31 merged commit 98eaa39 into purescript:master Aug 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants