Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add assertion on invalid cache set#43845

Merged
weswigham merged 1 commit into
microsoft:mainmicrosoft/TypeScript:mainfrom
weswigham:assert-on-mismatched-parameter-cacheweswigham/TypeScript:assert-on-mismatched-parameter-cacheCopy head branch name to clipboard
Mar 11, 2022
Merged

Add assertion on invalid cache set#43845
weswigham merged 1 commit into
microsoft:mainmicrosoft/TypeScript:mainfrom
weswigham:assert-on-mismatched-parameter-cacheweswigham/TypeScript:assert-on-mismatched-parameter-cacheCopy head branch name to clipboard

Conversation

@weswigham

@weswigham weswigham commented Apr 27, 2021

Copy link
Copy Markdown
Member

This is the assertion originally from #43835, in a separate PR for post-RC cut, per this comment

@TrySpace

Copy link
Copy Markdown

Is it possible to have a more informative message? I've been stuck with this generic: [object Object] === [object Object] error:

 `Error: Debug Failure. Expected [object Object] === [object Object]. Parameter symbol already has a cached type which differs from newly assigned type

And I'm unable to update typescript since 4.1.5, and it's impossible to manually trial and error by disabling pieces of code with a large codebase.

@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.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.