Skip to content

Propagate contextual type arguments to generated constructors #1126

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
Feb 26, 2020

Conversation

dcodeIO
Copy link
Member

@dcodeIO dcodeIO commented Feb 26, 2020

This PR fixes #1119 by properly propagating contextual type arguments to programmatically generated constructors, so these are known to the respective instance flow when compiling instance field initializers.

@dcodeIO dcodeIO merged commit 8e73c0c into master Feb 26, 2020
@dcodeIO dcodeIO deleted the issue-1119 branch March 15, 2020 13:35
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.

Type Propagation cannot resolve T in constructorless class
1 participant