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

builtin: update last_index_u8, deprecate index_u8_last string methods, make consistent with last_index #21604

Merged
merged 7 commits into from
Jun 4, 2024

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented May 30, 2024

Updates the index_u8_last => last_index_u8 method and deprecates the former to be consistent with the recent switch made by Alex from index_last to last_index. It is also consistent with the Go func equivalents.

vlib/builtin/string.v Outdated Show resolved Hide resolved
@ttytm ttytm marked this pull request as draft June 1, 2024 04:34
@ttytm ttytm force-pushed the builtin/last-index-u8 branch from ae04a05 to c73289e Compare June 1, 2024 14:59
@ttytm ttytm force-pushed the builtin/last-index-u8 branch from 898061b to 90bcb56 Compare June 1, 2024 15:12
@ttytm ttytm marked this pull request as ready for review June 1, 2024 15:39
@medvednikov medvednikov merged commit a2ce55d into vlang:master Jun 4, 2024
76 checks passed
@ttytm ttytm deleted the builtin/last-index-u8 branch June 4, 2024 13:09
raw-bin pushed a commit to raw-bin/v that referenced this pull request Jul 2, 2024
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.

3 participants