Skip to content

Commit 02cebe1

Browse files
author
Ralph Küpper
committed
fix(codegen): thread specialized_from through #7627's new Class fixture
Rebasing #7575 onto v0.5.1357 merges CLEANLY as text but does not compile: #7627 added a `perry_hir::Class` literal in codegen/emission_order_tests.rs, and #7575 adds a field to that struct. Textual mergeability is not a merge check when one side widens a struct the other side constructs.
1 parent b9df487 commit 02cebe1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/perry-codegen/src/codegen/emission_order_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ fn plain_class(id: u32, name: &str, method: Function) -> Class {
297297
aliases: Vec::new(),
298298
is_nested: false,
299299
alloc_width_hint: 0,
300+
specialized_from: None,
300301
}
301302
}
302303

0 commit comments

Comments
 (0)