Repository navigation
Conversation
This was referenced Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Second isolated slice of #718, stacked on #769.
Updates
compiler/src/type_name.flowto use the checked AST span-mutability accessor and emit production-compatiblespan_const_<elem>/span_mut_<elem>names for explicit span AST_TYPE nodes. The previous deliberate-1refusal is removed only because #769 gives the AST a lossless mutability channel.Updates the existing type-name port vectors to assert byte-exact const and mutable span spellings while retaining pointer/array/generic/nested/function/capacity coverage.
All commits use
[skip ci]; qualification is local only. The remaining explicit-span #718 change is parser preservation: whenflowc_parse_typeconsumesmutinsidespan<mut T>, it must call the new metadata setter on that span AST_TYPE. Reference syntax&[T]/&mut [T]remains separately tracked by #720.Related: #674 #677 #718 #720 #769