Skip to content

Move deprecate from Debug to deprecatedCompat#51522

Merged
jakebailey merged 2 commits into
microsoft:mainfrom
jakebailey:move-deprecation
Nov 16, 2022
Merged

Move deprecate from Debug to deprecatedCompat#51522
jakebailey merged 2 commits into
microsoft:mainfrom
jakebailey:move-deprecation

Conversation

@jakebailey

Copy link
Copy Markdown
Member

For #51443, #51441

This breaks the cycle between Debug and Version; while the current state doesn't crash (both bundled and unbundled), it only works due to some careful setup done in #51387. It's possible for a future refactor to break this unintentionally.

This was pulled out of #51455. It's a prerequisite for potentially making Debug a module rather than a namespace but probably also useful for #51504.

It also happens to reduce the code size of tsc by a little, since it doesn't use this code, but it's not really a significant amount by any means and isn't the driving force behind the PR.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants