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

typeof builtin method is not handled #292

Open
giann opened this issue May 21, 2024 · 0 comments
Open

typeof builtin method is not handled #292

giann opened this issue May 21, 2024 · 0 comments
Labels
bug Something isn't working compiler Issue related to the compiler
Milestone

Comments

@giann
Copy link
Collaborator

giann commented May 21, 2024

typeof ("hello".split);

Crashes right now because ObjNative do not embark their type at runtime. In the case of list and maps, we use the same ObjNative for any list or map which ever item/key/value type they have.

@giann giann added bug Something isn't working compiler Issue related to the compiler labels May 21, 2024
@giann giann added this to the 0.5.0 milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler Issue related to the compiler
Projects
None yet
Development

No branches or pull requests

1 participant