-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Fix "id to index" bug #109
Merged
Merged
Commits on Jun 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for a1f5153 - Browse repository at this point
Copy the full SHA a1f5153View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c92ae9 - Browse repository at this point
Copy the full SHA 9c92ae9View commit details -
Assert should come after a check if tokenId is valid
Otherwise we can mask the actual error.
Configuration menu - View commit details
-
Copy full SHA for 264310a - Browse repository at this point
Copy the full SHA 264310aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af7ad4 - Browse repository at this point
Copy the full SHA 8af7ad4View commit details -
- Don't set up tests to use default values (non-existing mapping value returns default value and can mask a problem) - Change some arbitrary index values to less conflicting numbers (for clarity).
Configuration menu - View commit details
-
Copy full SHA for 317c2c0 - Browse repository at this point
Copy the full SHA 317c2c0View commit details -
Add asserts to for tokens and idToIndex
They are dependable data structures and should be always in sync.
Configuration menu - View commit details
-
Copy full SHA for 26ca313 - Browse repository at this point
Copy the full SHA 26ca313View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9f11a6 - Browse repository at this point
Copy the full SHA e9f11a6View commit details -
We shrink tokens array with tokens.length-- which makes tokens[lastTokenIndex] = 0 redundant.
Configuration menu - View commit details
-
Copy full SHA for 95c84a4 - Browse repository at this point
Copy the full SHA 95c84a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0f3562 - Browse repository at this point
Copy the full SHA b0f3562View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9984f29 - Browse repository at this point
Copy the full SHA 9984f29View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.