Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/codegen-int32-key-split-argument.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
codegen: the int32-key element read passes the split helper its key-fact argument (`None`: the key is already an i32), so `perry-codegen` compiles again after key signs (#14458) met int32 local ranges (#14453).
5 changes: 5 additions & 0 deletions crates/perry-codegen/src/expr/index_get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,11 @@ pub(crate) fn lower(ctx: &mut FnCtx<'_>, expr: &Expr) -> Result<String> {
false,
repair_slot.as_deref(),
proven,
// The key is already its i32 here
// (`int32_key::lower`): the split
// takes it as a native key, so no
// key-sign fact applies to it.
None,
)
})
},
Expand Down
Loading