Skip to content

Fixes for tsbuild scenarios#32788

Merged
sheetalkamat merged 6 commits intomasterfrom
tsbuildFixes
Aug 14, 2019
Merged

Fixes for tsbuild scenarios#32788
sheetalkamat merged 6 commits intomasterfrom
tsbuildFixes

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

  • When reporting circular reference diagnostic, instead of reporting that as a status (continuing build after that) report as error so build stops there.
  • When a project is not built because it's referenced projects had error, we do not want to build the project containing reference to that project as well.
  • Report error about file not in include list or file does not belong to rootDir at the file that references it. The import from root file is preferred if any otherwise first reference is used to report the error

@sheetalkamat sheetalkamat changed the title Fixes for tsbuild scenarios` Fixes for tsbuild scenarios Aug 9, 2019
@sandersn sandersn self-assigned this Aug 9, 2019
@sheetalkamat sheetalkamat added this to the TypeScript 3.7.0 milestone Aug 9, 2019
Copy link
Copy Markdown
Member

@sandersn sandersn left a comment

Choose a reason for hiding this comment

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

One question and a couple of suggestions.

Comment thread src/compiler/diagnosticMessages.json
Comment thread tests/projects/demo/zoo/zoo.ts Outdated
Comment thread src/testRunner/unittests/tscWatch/helpers.ts Outdated
Comment thread src/compiler/program.ts
Comment thread src/compiler/tsbuild.ts
@sheetalkamat sheetalkamat merged commit 31a2612 into master Aug 14, 2019
@sheetalkamat sheetalkamat deleted the tsbuildFixes branch August 14, 2019 16:07
@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants