Uh oh!
There was an error while loading. Please reload this page.
Clone questionMark and dotdotdot token - #58263
Conversation
TypeScript Bot (@typescript-bot) perf test this |
Starting jobs; this comment will be updated as builds start and complete.
|
4d63a61 to
26b6afcCompareArmando Aguirre (armanio123)
commented
Apr 20, 2024
TypeScript Bot (@typescript-bot) perf test this |
TypeScript Bot (typescript-bot)
commented
Apr 20, 2024
Armando Aguirre (@armanio123) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown Hosts
Scenarios
startupComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jake Bailey (jakebailey)
commented
Apr 20, 2024
This makes sense; But, this does need a test; the linked issue should come with one that can be minimized. |
Jake Bailey (jakebailey)
commented
Apr 24, 2024
TypeScript Bot (@typescript-bot) perf test this |
TypeScript Bot (typescript-bot)
commented
Apr 24, 2024
Jake Bailey (@jakebailey) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
tsserverComparison Report - baseline..pr
System info unknown Hosts
Scenarios
startupComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Jake Bailey (jakebailey)
commented
Apr 24, 2024
Tested, and the test does actually test the crash, nice. |
Fixes#57924 (comment)
CompletionInfois failing due to a syntheticpropertySignatureusing an incorrectquestionTokenposition which cause the Assert to fail.The positions are incorrect due to the checker reusing the synthetic node for the
questionToken. When assigning positions the value gets overwritten by the latest position update this generating a node that is "not contained" on the parent.The PR fixes this by always cloning a synthetic
questionTokeninstead of reusing it.