-
Notifications
You must be signed in to change notification settings - Fork 33
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: ignore invalid event definition reference #3018
Conversation
Previously, the parser assumed that the identifier reference in the event definition was valid, i.e. that the identifier was defined at the top level. If this was not the case, the corresponding event definition was not retrieved. The following code attempted to access properties with undefined values. This generated an error.
♻️ PR Preview 2453660 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
♻️ PR Preview 2453660 has been successfully destroyed since this PR has been closed. 🤖 By surge-preview |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enregistrement.de.l.ecran.2024-01-18.a.15.59.40.mov
|
Previously, the parser assumed that the identifier reference in the event definition was valid, i.e. that the identifier was defined at the top level.
If this was not the case, the corresponding event definition was not retrieved. The following code attempted to access properties with undefined values.
This generated an error.
Notes