Skip to content

fix transl_match: advance idx in go_normal for char pattern wildcard#8

Open
cuiweixie wants to merge 1 commit intomoonbitlang:mainfrom
cuiweixie:fix/transl-match-char-path-idx
Open

fix transl_match: advance idx in go_normal for char pattern wildcard#8
cuiweixie wants to merge 1 commit intomoonbitlang:mainfrom
cuiweixie:fix/transl-match-char-path-idx

Conversation

@cuiweixie
Copy link
Copy Markdown

Summary

  • In calculate_char_paths, the catch-all branch for char/range patterns now passes idx + 1 to go_normal, consistent with other branches that consume a normal_field at the current index.

Test plan

  • Run existing match/translation tests if available in this repo.

In calculate_char_paths, the catch-all branch for char/range patterns
must pass idx + 1 to go_normal, matching the other branches that bind
normal_field at the current index.
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.

1 participant