Skip to content

Fix Le operator loop#270

Open
ashtonmeuser wants to merge 2 commits intonuskey8:mainfrom
ashtonmeuser:fix-le-operator-loop
Open

Fix Le operator loop#270
ashtonmeuser wants to merge 2 commits intonuskey8:mainfrom
ashtonmeuser:fix-le-operator-loop

Conversation

@ashtonmeuser
Copy link
Contributor

Fixes #260.

Lua script nil >= 5 could hang the VM because the <= comparison fallback retried the __lt path indefinitely when no metamethod existed. This fixes that loop so invalid >= comparisons now throw the expected runtime error, matching >.

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

Successfully merging this pull request may close these issues.

Checking Greater than or Equal to with a nil value hangs Unity.

1 participant