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

Support user defined type function syntax #330

Open
OverHash opened this issue Dec 1, 2024 · 0 comments · May be fixed by #334
Open

Support user defined type function syntax #330

OverHash opened this issue Dec 1, 2024 · 0 comments · May be fixed by #334
Labels
enhancement New feature or request

Comments

@OverHash
Copy link

OverHash commented Dec 1, 2024

The RFC for User Defined Type Functions has been merged into the Luau RFC repository, and so full moon should support it.

The key syntax to support is:

type function f(...)
    -- implementation of the type function
end

which full moon currently produces an unexpected token error on

@JohnnyMorganz JohnnyMorganz added the enhancement New feature or request label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants