8000 typeParams now performs one more completion by xeno-by · Pull Request #55 · scala/scala · GitHub
[go: up one dir, main page]

Skip to content

typeParams now performs one more completion #55

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 1 commit into from
Dec 12, 2011

Conversation

xeno-by
Copy link
Contributor
@xeno-by xeno-by commented Dec 12, 2011

When tracking a problem in type inference during reflective compilation,
Martin and I have discovered that under certain circumstances typeParams
does not fully load the type.

During a debugging session we found out that info first had the type of
TopLevelCompleter, and after the load it was still not completed, having
the type of UnPickler$something$LazyTypeRef.

After that discovery it became apparent that typeParams need to behave
similarly to the info getter - allow for two completions, not just one.

Review by @odersky, @adriaanm.

When tracking a problem in type inference during reflective compilation,
Martin and I have discovered that under certain circumstances typeParams
does not fully load the type.

During a debugging session we found out that info first had the type of
TopLevelCompleter, and after the load it was still not completed, having
the type of UnPickler$something$LazyTypeRef.

After that discovery it became apparent that typeParams need to behave
similarly to the info getter - allow for two completions, not just one.

Review by @odersky, @adriaanm.
@paulp paulp merged commit 9437b35 into scala:master Dec 12, 2011
sjrd pushed a commit to sjrd/scala that referenced this pull request Mar 24, 2020
Ensure paths are preserved for type member selection
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.

2 participants
0