Skip to content

Accept Public API changes that are causing test failures#21214

Closed
rbuckton wants to merge 1 commit into
masterfrom
fixPublicAPIs
Closed

Accept Public API changes that are causing test failures#21214
rbuckton wants to merge 1 commit into
masterfrom
fixPublicAPIs

Conversation

@rbuckton
Copy link
Copy Markdown
Contributor

Several recent PRs (#21190, #21157, #21203) have pushed changes that resulted in public API changes, however the public API was not updated in the tests.

NoTruncation = 1,
WriteArrayAsGenericType = 2,
WriteDefaultSymbolWithoutName = 4,
UseStructuralFallback = 8,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@weswigham, this was changed in #21203. Is this intended to be part of the public API?

NoTruncation = 1,
WriteArrayAsGenericType = 2,
WriteDefaultSymbolWithoutName = 4,
UseStructuralFallback = 8,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@weswigham, this was changed in #21203. Is this intended to be part of the public API?

function forEachLeadingCommentRange<T, U>(text: string, pos: number, cb: (pos: number, end: number, kind: CommentKind, hasTrailingNewLine: boolean, state: T) => U, state: T): U | undefined;
function forEachTrailingCommentRange<U>(text: string, pos: number, cb: (pos: number, end: number, kind: CommentKind, hasTrailingNewLine: boolean) => U): U | undefined;
function forEachTrailingCommentRange<T, U>(text: string, pos: number, cb: (pos: number, end: number, kind: CommentKind, hasTrailingNewLine: boolean, state: T) => U, state: T): U | undefined;
function forEachLeadingCommentRange<T, U>(text: string, pos: number, cb: (pos: number, end: number, kind: CommentKind, hasTrailingNewLine: boolean, state: T) => U, state?: T): U | undefined;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@mhegazy, this was changed in #21190. I assume it should be part of the public API?

NakedTypeVariable = 1,
MappedType = 2,
ReturnType = 4,
Contravariant = 1,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ahejlsberg this changed in #21157. Are these changes intended to be part of the public API?

@rbuckton
Copy link
Copy Markdown
Contributor Author

Please ignore. It looks like there may have been an issue building locally with gulp that was causing this.

@rbuckton rbuckton closed this Jan 16, 2018
@rbuckton rbuckton deleted the fixPublicAPIs branch January 16, 2018 23:27
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
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.

1 participant