Skip to content

Conversation

@C3pa
Copy link
Contributor

@C3pa C3pa commented Mar 1, 2023

This brings it in line with math.max, and max.min. This change allows the type inference to correctly infer the returned type if math.abs is passed an integer as an argument.

This brings it in line with math.max, and max.min. This change allows the type inference to correctly infer the returned type if math.abs is passed an integer as an argument.
@sumneko sumneko merged commit 36f4f92 into LuaLS:master Mar 2, 2023
@sumneko
Copy link
Collaborator

sumneko commented Mar 2, 2023

Thank you!

@C3pa C3pa deleted the math.abs-annotation branch March 18, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants