GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing github.com — Compute writeType from set accessors for union and intersection properties by andrewbranch · Pull Request #47674 · microsoft/TypeScript Conversation
Member
Fixes #45376
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Andrew Branch (andrewbranch)
requested review from
Ryan Cavanaugh (RyanCavanaugh) and
Wesley Wigham (weswigham)
Uh oh!
There was an error while loading. Please reload this page.
Wesley Wigham (weswigham)
approved these changes
Ryan Cavanaugh (RyanCavanaugh)
approved these changes
whzx5byb
reviewed
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't the write type of a union be resolved into an intersection type? Just like the way mentioned in #30769
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you come up with a code example that doesn’t work the way you expect, feel free to file an issue.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Please have a look at the unsound behavior described in #50142. A comment indicates that it should be treated using the same rule of #30769. I'm not quite sure but I guess it could have relation to this PR, where the write type of a union is not resolved into an intersection, but a union.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Reviewers+2 more reviewersUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Union of variant setters uses getter type for assignmentUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | ||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |