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

Table fix indexof #970

Merged
merged 1 commit into from
Dec 12, 2017
Merged

Table fix indexof #970

merged 1 commit into from
Dec 12, 2017

Conversation

tvandijck
Copy link
Contributor

Subtle, and this loop works as long as the table is a pure array...
but once you use the table.insertkeyed, or a mix of hashmap/array this can potentially return just a key of any type, not just the index to an element in the array part.

@tvandijck tvandijck merged commit 08c768d into premake:master Dec 12, 2017
@tvandijck tvandijck deleted the table-fix-indexof branch December 12, 2017 18:05
This pull request was closed.
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.

2 participants