Skip to content

Accept baseline differences#3239

Merged
ahejlsberg merged 2 commits intomainfrom
accept-baseline-diffs-1
Mar 26, 2026
Merged

Accept baseline differences#3239
ahejlsberg merged 2 commits intomainfrom
accept-baseline-diffs-1

Conversation

@ahejlsberg
Copy link
Copy Markdown
Member

First batch of accepted baseline differences.

Copy link
Copy Markdown
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 records a first batch of accepted baseline differences between the TypeScript submodule baselines and this repo’s expected outputs, by adding the corresponding submoduleAccepted baseline diff artifacts and listing them in the acceptance manifest.

Changes:

  • Extend testdata/submoduleAccepted.txt with new categorized entries for accepted submodule baseline diffs.
  • Add new baseline diff files under testdata/baselines/reference/submoduleAccepted/compiler/ covering types/symbols/errors/emit deltas for various compiler test cases.

Reviewed changes

Copilot reviewed 1 out of 89 changed files in this pull request and generated no comments.

File Description
testdata/submoduleAccepted.txt Adds new grouped manifest entries for accepted baseline diffs (deprecated features, type/symbol accuracy, errors, emit, etc.).
testdata/baselines/reference/submoduleAccepted/compiler/*.diff Adds the accepted “old vs new” baseline diff artifacts referenced by the manifest.

Comment thread testdata/submoduleAccepted.txt Outdated
compiler/assignmentToInstantiationExpression.js.diff
compiler/asyncArrowInClassES5(target=es2015).js.diff
compiler/augmentedTypesVar.js.diff
compiler/commentsFunction(target=es2015).js.diff
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.

I don't think this one is a desirable diff.

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.

Ok, I'll remove this one.

Comment thread testdata/submoduleAccepted.txt Outdated
compiler/arrayIterationLibES5TargetDifferent(nolib=true,target=es2015).errors.txt.diff
compiler/arrayIterationLibES5TargetDifferent(nolib=true,target=esnext).errors.txt.diff

## emit differences ##
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 we explain more why these are ignored? in general? The existing headers were terse but only because there wasn't much to say.

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.

We could call it "emit differences of no consequence". At least, that was the intent.

@ahejlsberg ahejlsberg requested a review from jakebailey March 26, 2026 16:53
@ahejlsberg ahejlsberg added this pull request to the merge queue Mar 26, 2026
Merged via the queue into main with commit 194226e Mar 26, 2026
21 checks passed
@ahejlsberg ahejlsberg deleted the accept-baseline-diffs-1 branch March 26, 2026 23:20
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.

3 participants