Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying types (type annotations) #22

Open
sinelaw opened this issue May 18, 2015 · 0 comments
Open

Allow specifying types (type annotations) #22

sinelaw opened this issue May 18, 2015 · 0 comments

Comments

@sinelaw
Copy link
Owner

sinelaw commented May 18, 2015

There are a few cases that are unsolvable without type annotations. For example, polymorphic row fields - always generalizing EPropAssign (row field assignment) means inferring overly polymorphic types that may cause errors later when code that assigns a less polymorphic type is encountered.

The only solution is to not generalize EPropAssign, but allow users to manually specify a (possibly polymorphic) type using type annotations.

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

No branches or pull requests

1 participant