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

fix: #2206 indexing regexp #2263

Merged
merged 7 commits into from
Jul 23, 2022

Conversation

technohippy
Copy link
Member

@technohippy technohippy commented Apr 14, 2022

fix #2206
fix #2207

  • I've read the contributing guidelines
  • I've added my name and email to the NOTICE file

src/resolver.ts Outdated Show resolved Hide resolved
src/resolver.ts Outdated Show resolved Hide resolved
@dcodeIO
Copy link
Member

dcodeIO commented Apr 23, 2022

While this introduces an error, it seems that what's missing here is resolving regexp literals to the RegExp type, similar to what is done for the numeric literals with I32 etc. That would then print a different error, but already prepare for an eventual implementation.

@technohippy
Copy link
Member Author

@dcodeIO I changed the pullreq. Is this what you thought?

1 similar comment
@technohippy
Copy link
Member Author

@dcodeIO I changed the pullreq. Is this what you thought?

@dcodeIO dcodeIO merged commit 3a5b51d into AssemblyScript:main Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

typeof a RegExp crashes the compiler Indexing a RegExp crashes the compiler
3 participants