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 missing newline and handle syntaxes without documentation in Runtime Errors. #7383

Merged

Conversation

sovdeeth
Copy link
Member

@sovdeeth sovdeeth commented Jan 3, 2025

Description

The error/warning lines were missing a newline at their ends, and syntaxes without a Name annotation were throwing exceptions.
Fallsback to the classname when no Name annotation is found.

I think not using syntaxinfos was a mistake that should be rectified, since things like Events or functions don't have docs annotations. That's for another PR, though.


Target Minecraft Versions: any
Requirements: none
Related Issues: none

@sovdeeth sovdeeth added the bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. label Jan 3, 2025
@sovdeeth sovdeeth changed the title Fix missing newline and handle syntaxes without documentation. Fix missing newline and handle syntaxes without documentation in Runtime Errors. Jan 3, 2025
Copy link

@Burbulinis Burbulinis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i love approving

@Moderocky Moderocky merged commit b1375c7 into SkriptLang:dev/feature Jan 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants