Skip to content

Add value source positions - #2427

Merged
paf31 merged 2 commits into
purescript:masterfrom
nwolverson:sourcepos-unknownname
Nov 16, 2016
Merged

paf31 merged 2 commits into
purescript:masterfrom
nwolverson:sourcepos-unknownname

Conversation

@nwolverson

Copy link
Copy Markdown
Contributor

Addresses a few errors with overgenerous source spans listed in #1801 - specifically UnknownName for data constructors, identifiers and operators.

(I previously tried to add this for value atoms for source maps, at which point it broke something, though tests at least seem to pass now).

@paf31

paf31 commented Nov 11, 2016

Copy link
Copy Markdown
Contributor

Looks good to me, thanks!

@nwolverson

Copy link
Copy Markdown
Contributor Author

So this might be better if operators actually work as well as giving improved source spans! Tests should hopefully now pass

@paf31
paf31 merged commit a53031b into purescript:master Nov 16, 2016
@paf31

paf31 commented Nov 16, 2016

Copy link
Copy Markdown
Contributor

Thanks!

@nwolverson
nwolverson deleted the sourcepos-unknownname branch November 16, 2016 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants