Does mlua support luau's type annotations? #255
Answered
by
khvzak
jqnatividad
asked this question in
Q&A
-
One of luau's more compelling features is type annotation. Does mlua |
Beta Was this translation helpful? Give feedback.
Answered by
khvzak
Feb 23, 2023
Replies: 1 comment 1 reply
-
type annotations are supported (but luau compiler simply ignores it). I think simiar is in python. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jqnatividad
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
type annotations are supported (but luau compiler simply ignores it). I think simiar is in python.
To check the source code with type anotations you need to run an additional tool called
luau-analyzer
. It's shipped with luau distribution