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

Recursive Parse Errors from Functions #4771

Closed
1 task done
NotSoDelayed opened this issue May 25, 2022 · 0 comments
Closed
1 task done

Recursive Parse Errors from Functions #4771

NotSoDelayed opened this issue May 25, 2022 · 0 comments
Labels
bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.

Comments

@NotSoDelayed
Copy link
Contributor

Skript/Server Version

[07:01:53] [Server thread/INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[07:01:53] [Server thread/INFO]: [Skript] Skript's documentation can be found here: https://skriptlang.github.io/Skript
[07:01:53] [Server thread/INFO]: [Skript] Server Version: git-Paper-794 (MC: 1.16.5)
[07:01:53] [Server thread/INFO]: [Skript] Skript Version: 2.6.2
[07:01:53] [Server thread/INFO]: [Skript] Installed Skript Addons: 
[07:01:53] [Server thread/INFO]: [Skript]  - skript-reflect v2.3 (https://github.com/TPGamesNL/skript-reflect)
[07:01:53] [Server thread/INFO]: [Skript] Installed dependencies: None

Bug Description

Parse errors were thrown twice for invalid function definition from the same line. Image below:
Screenshot_20220525-123756_Edge

Expected Behavior

Not throwing another parse error from the same line.

Steps to Reproduce

Make a typo in the return type function definition:

function a() :; string:
    return "a"

Errors or Screenshots

Screenshot_20220525-123756_Edge

Other

None.

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
@AyhamAl-Ali AyhamAl-Ali added bug An issue that needs to be fixed. Alternatively, a PR fixing an issue. priority: low Issues that are not harmful to the experience but are related to useful changes or additions. labels May 25, 2022
@TPGamesNL TPGamesNL added the PR available Issues which have a yet-to-be merged PR resolving it label May 25, 2022
@TheLimeGlass TheLimeGlass added completed The issue has been fully resolved and the change will be in the next Skript update. and removed PR available Issues which have a yet-to-be merged PR resolving it labels Jul 16, 2022
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. completed The issue has been fully resolved and the change will be in the next Skript update. priority: low Issues that are not harmful to the experience but are related to useful changes or additions.
Projects
None yet
Development

No branches or pull requests

4 participants