-
Notifications
You must be signed in to change notification settings - Fork 53
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
allow circular require #120
Comments
The problem is that a Typed Lua |
I feel like |
Do you mean source file inclusion? Lua (and by extension Typed Lua) cannot really have circular requires with the way its modules work, so the exception would really have to be for modules that are required just for their types. |
This was in reference to .tld files. |
Sorry, saw that part only now! |
You can have interfaces that include each other:
However if I want to split that into two files (say, foo.tld and bar.tld), then tlc fails with
type error, circular require
The text was updated successfully, but these errors were encountered: