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

fix indexes_as_range #241

Merged
merged 2 commits into from
Nov 15, 2023
Merged

fix indexes_as_range #241

merged 2 commits into from
Nov 15, 2023

Conversation

burrbull
Copy link
Member

@burrbull burrbull commented Nov 10, 2023

@burrbull burrbull requested a review from a team as a code owner November 10, 2023 12:35
@burrbull burrbull marked this pull request as draft November 10, 2023 12:35
@burrbull burrbull marked this pull request as ready for review November 10, 2023 12:38
@burrbull
Copy link
Member Author

cc @Emilgardis

Comment on lines +173 to +176
let val = idx.parse::<u32>().ok()?;
if val.to_string() != idx {
return None;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what exactly does this fix?

that 01 != 1?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to note, I think it's the wrong way to fix the issue but maybe it's not

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what exactly does this fix?

that 01 != 1?

Yes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a comment here to explain why we need the name to be an exact match with the integer representation

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add comment yourself, please? I have issues with internet, maybe several days

Copy link
Member

@Emilgardis Emilgardis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

feel free to merge if the comment looks good

@burrbull burrbull added this pull request to the merge queue Nov 14, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 14, 2023
@Emilgardis Emilgardis added this pull request to the merge queue Nov 14, 2023
@Emilgardis
Copy link
Member

ci stuck on waiting for runner
image

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 14, 2023
@Emilgardis Emilgardis added this pull request to the merge queue Nov 15, 2023
Merged via the queue into master with commit a54d1e5 Nov 15, 2023
7 checks passed
@Emilgardis Emilgardis deleted the range branch November 15, 2023 00:49
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