Skip to content

Empty functions #8056

@TheLimeGlass

Description

@TheLimeGlass

Skript/Server Version

2.12
MC 1.21.5

Bug Description

You can have empty functions

Expected Behavior

To error saying it's an empty section, like how normal sections would.

Steps to Reproduce

function test(string: string):
parses fine

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.priority: lowest"Nice to have" updates that are not required (tiny low impact bug fixes or QoL enhancements).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions