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

Extra check in assignment of intersections with generic constituents #37537

Merged
merged 11 commits into from
Apr 6, 2020

Conversation

ahejlsberg
Copy link
Member

This PR expands the additional check in #37195 to also cover intersections with generic constituents.

Fixes #36637.

@ahejlsberg
Copy link
Member Author

@typescript-bot test this
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 23, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at f504c36. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 23, 2020

Heya @ahejlsberg, I've started to run the extended test suite on this PR at f504c36. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 23, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at f504c36. You can monitor the build here.

Copy link
Member

@weswigham weswigham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's unfortunate that weakType.errors.txt has an extra line of elaboration we previously got rid of, but otherwise this looks pretty good. The comment in isRelatedTo is appreciated.

@typescript-bot
Copy link
Collaborator

The user suite test run you requested has finished and failed. I've opened a PR with the baseline diff from master.

@ahejlsberg
Copy link
Member Author

@typescript-bot test this
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at b1fe1b2. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at b1fe1b2. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the extended test suite on this PR at b1fe1b2. You can monitor the build here.

@ahejlsberg
Copy link
Member Author

@typescript-bot test this
@typescript-bot user test this
@typescript-bot run dt

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at 0d99510. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at 0d99510. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Mar 26, 2020

Heya @ahejlsberg, I've started to run the extended test suite on this PR at 0d99510. You can monitor the build here.

@ahejlsberg
Copy link
Member Author

@typescript-bot run dt
@typescript-bot test this
@typescript-bot user test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 3, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at 5a9ddd7. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 3, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at 5a9ddd7. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 3, 2020

Heya @ahejlsberg, I've started to run the extended test suite on this PR at 5a9ddd7. You can monitor the build here.

@ahejlsberg
Copy link
Member Author

@typescript-bot run dt
@typescript-bot user test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 4, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at 2beca5c. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 4, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at 2beca5c. You can monitor the build here.

@ahejlsberg
Copy link
Member Author

@weswigham @pirix-gh I'm seeing the following failure in ts-toolbelt with this PR.

https://github.com/typescript-bot/TypeScript/pull/7/files#diff-1f3859ff65d5bfe2538629eb58913345R3

It is the one gating issue for merging the PR. Any ideas?

@ahejlsberg
Copy link
Member Author

@typescript-bot pack this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 4, 2020

Heya @ahejlsberg, I've started to run the tarball bundle task on this PR at 2beca5c. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @ahejlsberg, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/70440/artifacts?artifactName=tgz&fileId=786456A3F5C139144205509C45D5235CBFEE4324AC5DCAA0354DFFCD504CA17102&fileName=/typescript-3.9.0-insiders.20200404.tgz"
    }
}

and then running npm install.

@millsp
Copy link
Contributor

millsp commented Apr 4, 2020

The fix is out! I mistakenly swapped the lhs & rhs on the terminating condition of Repeat. I am glad to see how many little mistakes have been caught on this 3.9 release 🎉 Thanks!

@ahejlsberg
Copy link
Member Author

@typescript-bot run dt
@typescript-bot user test this

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 4, 2020

Heya @ahejlsberg, I've started to run the parallelized community code test suite on this PR at 2beca5c. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

typescript-bot commented Apr 4, 2020

Heya @ahejlsberg, I've started to run the parallelized Definitely Typed test suite on this PR at 2beca5c. You can monitor the build here.

@ahejlsberg
Copy link
Member Author

ahejlsberg commented Apr 5, 2020

RWC and Community Code test suites are clean, and I have a PR up to fix new error in vuelidate on DefinitelyTyped.

@RyanCavanaugh @DanielRosenwasser I think we should move this PR back into the 3.9 release. We have already merged #37195 and this PR just finishes the job. It fixes #36637 and uncovered legit issues in ts-toolbelt and vuelidate, but otherwise appears to have no downside.

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.

when merging a generic object type with new optional properties, these properties are not type checked
4 participants