Skip to content

Remove two flags from TypeFlags - #28386

Merged
Anders Hejlsberg (ahejlsberg) merged 5 commits into
masterfrom
removeTwoTypeFlags
Nov 7, 2018
Merged

Anders Hejlsberg (ahejlsberg) merged 5 commits into
masterfrom
removeTwoTypeFlags

Conversation

@ahejlsberg

Copy link
Copy Markdown
Member

This PR removes two TypeFlags to bring us back to 30 bits. TypeFlags.UnionOfPrimitiveTypes becomes a discrete property on UnionType, and TypeFlags.FreshLiteral becomes ObjectFlags.FreshLiteral.

Fixes #28354.

@ahejlsberg
Anders Hejlsberg (ahejlsberg) deleted the removeTwoTypeFlags branch November 7, 2018 00:41
JsxAttributes = 4096,
MarkerType = 8192,
JSLiteral = 16384,
FreshLiteral = 32768,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So this is now intended for public use or did you just forget to make it internal?

@microsoft 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.

3 participants