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 · 1 comment
Open
1 of 7 tasks

Invariant failed #3008

Kal-Aster opened this issue May 11, 2024 · 1 comment
Assignees
Labels

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants