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

Remove TableObject type assertion guards #4343

Closed
onelson opened this issue Dec 13, 2021 · 0 comments · Fixed by #4500
Closed

Remove TableObject type assertion guards #4343

onelson opened this issue Dec 13, 2021 · 0 comments · Fixed by #4500

Comments

@onelson
Copy link
Contributor

onelson commented Dec 13, 2021

This work will remove guards that check to see if a Value is a TableObject just before we make an attempt to invoke the Array.Len().

Once we after we are able to properly represent TableObjects separately from standard array objects, the type assertions should be redundant. At that point, hopefully both the compiler and humans will be able to tell the difference between these two types.

nathanielc added a commit that referenced this issue Feb 18, 2022
Now that the type system can distinguish between streams (aka tables)
and vanilla arrays we no longer need the TableObject interface and its
associated type guards.

Fixes #4343
nathanielc added a commit that referenced this issue Feb 18, 2022
Now that the type system can distinguish between streams (aka tables)
and vanilla arrays we no longer need the TableObject interface and its
associated type guards.

Fixes #4343
nathanielc added a commit that referenced this issue Feb 18, 2022
Now that the type system can distinguish between streams (aka tables)
and vanilla arrays we no longer need the TableObject interface and its
associated type guards.

Fixes #4343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant