We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When parsing a script that contains a function type definition containing a parameter name, Loretta does not parse this correctly
You can reproduce this by trying to parse i.e.:
export type a = (p1: any) -> any
Expected behaviour would be to parse it properly, preserving parameter names Issue occurs on all syntax options
The text was updated successfully, but these errors were encountered:
I'd like to expand this issue to also contain the following case:
((Player, ...any) -> ...any)?)
This causes the following errors: I can't place why but it seems to be related to this.
Sorry, something went wrong.
I'd like to expand this issue to also contain the following case: ((Player, ...any) -> ...any)?) This causes the following errors: I can't place why but it seems to be related to this.
does this fail with the code
export type a = ((Player, ...any) -> ...any)?)
?
I'm not able to test for the coming few days - but I'd assume so, considering that type errored when it was used as function return type
Sorry I've been busy I'll take a look at this the coming week.
GGG-KILLER
TheGreatSageEqualToHeaven
No branches or pull requests
When parsing a script that contains a function type definition containing a parameter name, Loretta does not parse this correctly
You can reproduce this by trying to parse i.e.:
Expected behaviour would be to parse it properly, preserving parameter names
Issue occurs on all syntax options
The text was updated successfully, but these errors were encountered: