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

Invariant failed #3008

Open
1 of 7 tasks
Kal-Aster opened this issue May 11, 2024 · 2 comments
Open
1 of 7 tasks

Invariant failed #3008

Kal-Aster opened this issue May 11, 2024 · 2 comments
Assignees
Labels
bug dependencies Pull requests that update a dependency file

Comments

@Kal-Aster
Copy link

Kal-Aster commented May 11, 2024

Help us to manage our issues by answering the following:

  1. Describe your issue:

Using inline callback inside html elements I encounter so many times an error saying "Invariant failed". It's pretty annoying...

(Edit: This issue should probably go in "compiler" but I thought about it after publishing it here, and I can't delete it now.. sorry)

  1. Can you reproduce the issue?

here, in the onclick event of the button

  1. On which browser/OS does the issue appear?

Firefox Windows

  1. Which version of Riot does it affect?

Latest

  1. How would you tag this issue?
  • Question
  • Bug
  • Discussion
  • Feature request
  • Tip
  • Enhancement
  • Performance
@GianlucaGuarini
Copy link
Member

The bug comes from recast and It seems to be similar to this benjamn/recast#831
I am working on a solution. Thank you for reporting it

GianlucaGuarini added a commit to riot/compiler that referenced this issue May 17, 2024
@GianlucaGuarini
Copy link
Member

I have created a new bug on the recast repo benjamn/recast#1402 hopefully they could help us. Unfortunately I can't do much here :(

@GianlucaGuarini GianlucaGuarini added dependencies Pull requests that update a dependency file labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants