Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for type expressions in casts and type assertions #1577

Closed
elprans opened this issue Jul 24, 2020 · 2 comments
Closed

Add support for type expressions in casts and type assertions #1577

elprans opened this issue Jul 24, 2020 · 2 comments

Comments

@elprans
Copy link
Member

elprans commented Jul 24, 2020

Currently, type assertions ([IS <Type>]) only support simple types and not Unions or Intersections (although it should be possible to emulate Intersection by chaining [IS ).

See #219 for a longer story on type expressions and type operators.

@msullivan
Copy link
Member

To add some context, the goal here is supporting things like select Object[is Card | User]

@dnwpark
Copy link
Contributor

dnwpark commented May 14, 2024

Resolved by #7274 and #7172.

@dnwpark dnwpark closed this as completed May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants