Closed
Description
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:
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
Other
None.
Agreement
- I have read the guidelines above and affirm I am following them with this report.