Skip to content

Conversation

@gares
Copy link
Member

@gares gares commented Feb 16, 2021

The syntax is #[infer(P = "something")] and #[infer(P)] is also supported and works as P = "Type".

Fix #140

@gares gares changed the title Phant params inference of structures on paramters Feb 16, 2021
@gares
Copy link
Member Author

gares commented Feb 16, 2021

This PR raises a question, why do we store a name in w-params.cons rather than an id ? I think it is a accident. (id is a meaningful string, while name is a pp hint, the code coq.name->id is there as a hack, only coq.id->name is ok).

@gares gares requested a review from CohenCyril February 16, 2021 18:10
@CohenCyril CohenCyril merged commit f5cc80a into master Feb 17, 2021
@CohenCyril CohenCyril deleted the phant-params branch February 17, 2021 17:30
@gares gares mentioned this pull request Mar 7, 2021
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.

#[infer(var = "R", from ="Type")]

3 participants