Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Emit build info even on noEmitOnError or tsc --build#38853

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
sheetalkamat merged 3 commits intomasterfromnoEmitOnError
Jun 2, 2020

Conversation

sheetalkamat
Copy link
Member

@sheetalkamatsheetalkamat commentedMay 29, 2020
edited
Loading

With this change the caching of semantic diagnostics in the builder is written to the disk with .tsbuildinfo so next incremental build should benefit from that.

  • Emits .tsbuildinfo even if program has error (changes tsc --watch and tsc --incremental emit)62584b7
  • Emit .tsbuildinfo in --build mode (with and without watch) even if there are errors.bafc3b7

mkubilayk, arnayak4u, styfle, ACHP, and izhan reacted with hooray emoji
) {
const canEmitBuildInfo = !(buildResult & BuildResultFlags.SyntaxErrors) && program && !outFile(program.getCompilerOptions());
Copy link
Member

Choose a reason for hiding this comment

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

Why do syntax errors block a build info?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Because there is nothing to write in this case. Only semantic errors are cached so there is no use writing tsbuildinfo in this case

Base automatically changed fromtestChanges tomasterJune 2, 2020 18:49
@sheetalkamatsheetalkamat merged commit9fbcb99 intomasterJun 2, 2020
@sheetalkamatsheetalkamat deleted the noEmitOnError branchJune 2, 2020 19:38
cangSDARM added a commit to cangSDARM/TypeScript that referenced this pull requestJun 5, 2020
* upstream/master: (48 commits)  Fix merging of JS value & TS type decl  LEGO: check in for master to temporary branch.  `getSymbolDisplayPartsDocumentationAndSymbolKind`: use actual `symbol.flags` for `getAliasedSymbol`  LEGO: check in for master to temporary branch.  LEGO: check in for master to temporary branch.  Fix two tests  Update user baselines  LEGO: check in for master to temporary branch.  address PR comments  Emit build info even on noEmitOnError or tsc --build (microsoft#38853)  Some changes to tsc baselines for clarity (microsoft#38850)  LEGO: check in for master to temporary branch.  fix merge conflicts  polish tests  remove outdated tests  convert import trigger reason test  convert import trigger reason only  convert export trigger reason test  convert export cursor only changes  remove declaration  ...
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@weswighamweswighamweswigham approved these changes

@RyanCavanaughRyanCavanaughAwaiting requested review from RyanCavanaugh

@sandersnsandersnAwaiting requested review from sandersn

@andrewbranchandrewbranchAwaiting requested review from andrewbranch

Assignees

@sheetalkamatsheetalkamat

Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@sheetalkamat@weswigham@typescript-bot

[8]ページ先頭

©2009-2025 Movatter.jp