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

Declaration files use later-defined types #806

Closed
checkraisefold opened this issue Oct 28, 2024 · 1 comment
Closed

Declaration files use later-defined types #806

checkraisefold opened this issue Oct 28, 2024 · 1 comment

Comments

@checkraisefold
Copy link
Contributor

On the new solver, you cannot use a type declared later in the file inside of declaration files. This causes a very large amount of errortypes to pop up. Examples include the Chat service's functions with a Player argument, every MarketPlaceService function with a Player argument, RemoteEvent.OnServerEvent,

This is being tracked by luau-lang/luau#1492

@checkraisefold
Copy link
Contributor Author

This has been fixed in Luau

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant