Skip to content

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

@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