Skip to content

Conversation

@Andarist
Copy link
Contributor

@Andarist Andarist commented Jun 5, 2025

Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
Copilot AI review requested due to automatic review settings June 5, 2025 14:05
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR ports a fix for a JSDoc space sensitivity issue by ensuring the parser skips any intervening whitespace before consuming a closing brace.

  • Added a call to skip whitespace before parsing the closing brace in JSDoc expressions.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jakebailey jakebailey added this pull request to the merge queue Jun 5, 2025
Merged via the queue into microsoft:main with commit 9d1bafa Jun 5, 2025
23 checks passed
Copilot AI added a commit that referenced this pull request Jan 21, 2026
This file demonstrates a performance bug where nested spread operations
on discriminated union types with intersection base types cause
exponential type checking time. The file takes ~21s to check with tsgo
when it should take < 1s.

Key elements of the repro:
- 11 different settings types with nested {input: {...}} structure
- A union type with intersection of Base & specific settings
- Triple nested spread: ...step, ...step.settings, ...step.settings.input
- Generic read<T> function to capture the complex type

Related to: #1066

Co-authored-by: RyanCavanaugh <6685088+RyanCavanaugh@users.noreply.github.com>
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.

2 participants