Skip to content

Fix crash caused by assertion with evolving array type #38398

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 2 commits into from
May 7, 2020
Merged

Conversation

ahejlsberg
Copy link
Member

Fixes #38369.

@DanielRosenwasser
Copy link
Member

@typescript-bot test this
@typescript-bot user test this
@typescript-bot run dt
@typescript-bot cherry-pick this to release-3.9

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 7, 2020

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 7, 2020

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 7, 2020

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

@typescript-bot
Copy link
Collaborator

typescript-bot commented May 7, 2020

Heya @DanielRosenwasser, I've started to run the task to cherry-pick this into release-3.9 on this PR at b355cd4. You can monitor the build here.

@typescript-bot
Copy link
Collaborator

Hey @DanielRosenwasser, I've opened #38400 for you.

typescript-bot pushed a commit to typescript-bot/TypeScript that referenced this pull request May 7, 2020
Component commits:
99c5c09 Properly finalize evolving array type in getTypeAtFlowCall

b355cd4 Add regression test
@ahejlsberg ahejlsberg merged commit 7798f53 into master May 7, 2020
@DanielRosenwasser DanielRosenwasser deleted the fix38369 branch May 8, 2020 00:13
DanielRosenwasser pushed a commit that referenced this pull request May 8, 2020
Component commits:
99c5c09 Properly finalize evolving array type in getTypeAtFlowCall

b355cd4 Add regression test

Co-authored-by: Anders Hejlsberg <[email protected]>
cangSDARM added a commit to cangSDARM/TypeScript that referenced this pull request May 12, 2020
* upstream/master: (54 commits)
  LEGO: check in for master to temporary branch.
  LEGO: check in for master to temporary branch.
  Fix for jsdoc modifiers on constructor params (microsoft#38403)
  Improve assert message in binder (microsoft#38270)
  fix broken regex on "src/services/completions.ts#getCompletionData" (microsoft#37546)
  report error for duplicate @type declaration (microsoft#38340)
  fix(38073): hide 'Extract to function in global scope' action for arrow functions which use 'this' (microsoft#38107)
  Update user baselines (microsoft#38472)
  Update user baselines (microsoft#38405)
  Changed template strings to emit void 0 instead of undefined (microsoft#38430)
  Fix js missing type arguments on existing nodes and jsdoc object literal declaration emit (microsoft#38368)
  LEGO: check in for master to temporary branch.
  Make isDynamicFileName available publicly (microsoft#38269)
  LEGO: check in for master to temporary branch.
  LEGO: check in for master to temporary branch.
  Exclude arrays and tuples from full intersection property check (microsoft#38395)
  Fix crash caused by assertion with evolving array type (microsoft#38398)
  Update user baselines (microsoft#38128)
  LEGO: check in for master to temporary branch.
  moveToNewFile: handle namespace imports too
  ...

# Conflicts:
#	src/compiler/types.ts
#	src/compiler/utilities.ts
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.

Checker crash in isWeakType
4 participants