Skip to content

[psc-ide] Parse type annotations from source files - #2303

Merged
paf31 merged 1 commit into
purescript:masterfrom
kritzcreek:psc-ide-parse-type-annotations
Sep 11, 2016
Merged

[psc-ide] Parse type annotations from source files#2303
paf31 merged 1 commit into
purescript:masterfrom
kritzcreek:psc-ide-parse-type-annotations

Conversation

@kritzcreek

Copy link
Copy Markdown
Member

Then use these parsed type annotations to give back the non-expanded
types for functions that contain type synonyms in their annotation.

Fixes #2302

I didn't add any tests for this yet but it's kind of trivial so I'm willing to accept that for now. The extra information about type annotations is only available on the type command and not the complete command yet, just like with definitions sites. This can definitely be changed but I'll leave that for another PR.

Then use these parsed type annotations to give back the non-expanded
types for functions that contain type synonyms in their annotation.
@paf31

paf31 commented Sep 11, 2016

Copy link
Copy Markdown
Contributor

Looks good to me, thanks!

@paf31
paf31 merged commit 03260df into purescript:master Sep 11, 2016
@kritzcreek
kritzcreek deleted the psc-ide-parse-type-annotations branch December 19, 2016 10:56
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