Skip to content

fix: type string indexing as u8 - #1147

Merged
godofecht merged 2 commits into
mainfrom
fix-1143-string-index
Oct 1, 2026
Merged

godofecht merged 2 commits into
mainfrom
fix-1143-string-index

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Fixes #1143. The semantic checker now types direct string indexing as u8, matching the C emitter. The auxiliary type pass applies the same rule. Added a strict regression test and regenerated bootstrap C with a fixed-point check.

@godofecht
godofecht merged commit de3918e into main Oct 1, 2026
31 of 33 checks passed
@godofecht
godofecht deleted the fix-1143-string-index branch October 12, 2026 23:02
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.

flowc type checker: indexing a string gives void

1 participant