Skip to content

Always fully define the types of lifted expressions #823

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

Merged
merged 2 commits into from
Oct 19, 2015

Conversation

smarter
Copy link
Member

@smarter smarter commented Oct 9, 2015

Fixes #822

Review by @odersky . I don't know if fixing this just in EtaExpression#lift is the correct thing to do, we could still accidentally create symbols with non-fully defined types. Should we instead call fullyDefinedType(info) inside Symbols#newSymbol ?

@smarter
Copy link
Member Author

smarter commented Oct 9, 2015

@odersky : I tried adding a config option to check that SymDenotations are always fully defined (in a similar way than Config.checkNoSkolemsInInfo) but I run into cyclic reference errors, do you see a way to avoid that?

@smarter smarter force-pushed the fix/lifting-and-inference branch from 6499e1e to 78488cb Compare October 19, 2015 16:07
smarter added a commit that referenced this pull request Oct 19, 2015
Always fully define the types of lifted expressions
@smarter smarter merged commit 78d7690 into scala:master Oct 19, 2015
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.

1 participant