Skip to content

Allow infer type variables to have constraints inferred#32093

Merged
weswigham merged 4 commits into
microsoft:masterfrom
weswigham:conditional-constraint-finding
Jan 25, 2020
Merged

Allow infer type variables to have constraints inferred#32093
weswigham merged 4 commits into
microsoft:masterfrom
weswigham:conditional-constraint-finding

Conversation

@weswigham

Copy link
Copy Markdown
Member

And allow the breakdown of substitutes in simplifiable source inferences.

Fixes #31736

@weswigham

Copy link
Copy Markdown
Member Author

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

@typescript-bot

typescript-bot commented Jun 25, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the extended test suite on this PR at 25d4aa0. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

typescript-bot commented Jun 25, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 25d4aa0. You can monitor the build here. It should now contribute to this PR's status checks.

…e breakdown of substitutes in simplifiable source inferences
@weswigham
weswigham force-pushed the conditional-constraint-finding branch from 25d4aa0 to 22db82d Compare July 1, 2019 20:36
@weswigham

Copy link
Copy Markdown
Member Author

@typescript-bot run dt

@typescript-bot

typescript-bot commented Jul 1, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 22db82d. You can monitor the build here. It should now contribute to this PR's status checks.

@weswigham

Copy link
Copy Markdown
Member Author

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

@typescript-bot

typescript-bot commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 8f9edd2. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

typescript-bot commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the extended test suite on this PR at 8f9edd2. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

typescript-bot commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 8f9edd2. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

Copy link
Copy Markdown
Contributor

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

…tern still acts as a constraint size breaker
@weswigham
weswigham force-pushed the conditional-constraint-finding branch from 5caf18a to 9071a92 Compare August 2, 2019 21:45
@weswigham

Copy link
Copy Markdown
Member Author

@typescript-bot run dt

@typescript-bot

typescript-bot commented Aug 2, 2019

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 9071a92. You can monitor the build here. It should now contribute to this PR's status checks.

@ahejlsberg

Copy link
Copy Markdown
Member

Maybe merge with master and re-run the tests.

@weswigham

Copy link
Copy Markdown
Member Author

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

@typescript-bot

typescript-bot commented Jan 24, 2020

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized community code test suite on this PR at 274a9e7. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

typescript-bot commented Jan 24, 2020

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the extended test suite on this PR at 274a9e7. You can monitor the build here. It should now contribute to this PR's status checks.

@typescript-bot

typescript-bot commented Jan 24, 2020

Copy link
Copy Markdown
Contributor

Heya @weswigham, I've started to run the parallelized Definitely Typed test suite on this PR at 274a9e7. You can monitor the build here. It should now contribute to this PR's status checks.

@weswigham

Copy link
Copy Markdown
Member Author

@ahejlsberg all the tests are good. RWC is repeating a no-diff error that's in master (which I just put up and merged a change to fix), user baselines are some no-diff build issues in some docker builds that I have a PR up to fix (due to a break in npm's behavior) and am investigating the last of which with the azure-sdk folks (since it seems to be a 'nix specific issue that might be related to the other one), and the DT failures are the same EventEmitter problems that we can see in master.

So everything looks great!

@weswigham
weswigham merged commit 18cd79e into microsoft:master Jan 25, 2020
@weswigham
weswigham deleted the conditional-constraint-finding branch January 25, 2020 00:59
ahejlsberg added a commit that referenced this pull request Dec 6, 2020
ahejlsberg added a commit that referenced this pull request Dec 8, 2020
…41841)

* Preserve substitution types in check types of conditional types

* Undo changes from #32093

* Add regression tests

* Accept new baselines
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3.5.1 regression in mapped types on tuples

3 participants