Skip to content

Mark more options as affecting errors/resolution - #53403

Merged
Jake Bailey (jakebailey) merged 8 commits into
microsoft:mainfrom
jakebailey:fix-53391
Sep 19, 2023
Merged

Mark more options as affecting errors/resolution#53403
Jake Bailey (jakebailey) merged 8 commits into
microsoft:mainfrom
jakebailey:fix-53391

Conversation

@jakebailey

@jakebailey Jake Bailey (jakebailey) commented Mar 21, 2023

Copy link
Copy Markdown
Member

Fixes #53391

Comment thread src/compiler/commandLineParser.ts
Comment thread src/compiler/commandLineParser.ts

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left responses after looking at the example. It would be good to add the repro giving by daniel as a test and handle "allowJs" correctly.

@@ -0,0 +1,170 @@
currentDirectory:: /user/username/projects/myproject useCaseSensitiveFileNames: false
Input::

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should this baseline be deleted as its outdated?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yep, oops. Didn't see CI!

@sheetalkamat

Copy link
Copy Markdown
Member

Do you mind commenting in "jsx" commandline option why affectsSemanticDIagnostics is needed apart from module resolution affects flag so we dont have to investigate it again.

@jakebailey

Copy link
Copy Markdown
Member Author

Updated with a comment.

@jakebailey
Jake Bailey (jakebailey) merged commit 1a68590 into microsoft:main Sep 19, 2023
@jakebailey
Jake Bailey (jakebailey) deleted the fix-53391 branch September 19, 2023 22:11
Marcus Ording (snovader) pushed a commit to EG-A-S/TypeScript that referenced this pull request Sep 23, 2023
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
@microsoft Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

jsx, checkJs, and possibly more options must be tracked as affectsSemanticDiagnostics

4 participants