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

Fix nested spread prop variance, issue 7242 #7296

Closed
wants to merge 3 commits into from

Conversation

villesau
Copy link
Contributor

@villesau villesau commented Dec 22, 2018

Fixes #7242

Currently broken examples which this PR fixes:
first test case
second test case

I'm not entirely sure wether test cases are in right file or should I have separate file for them, but that file has probably the closest test cases to ones I made.

I'm also not sure wether flow_opt cx ?trace (DefT (lreason, lt), UseT (use_op, DefT (ureason, ut))) is proper call in matches, or should I have there something else instead.

@villesau
Copy link
Contributor Author

Closing in favour of #7298

@villesau villesau closed this Dec 26, 2018
@goodmind goodmind added the Superseded PRs that solve the same issue as a "superseding" PR that already landed label Jul 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Superseded PRs that solve the same issue as a "superseding" PR that already landed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

readonly object spread fails: property bar is read-only in object type [1] but writable in object literal [2].
3 participants