Skip to content

Commit 81a7799

Browse files
authored
Merge pull request #904 from ab9rf/generalize-substruct-identity
use `type_idfun_reference` for substruct
2 parents d9f8fc0 + 5c7cd7f commit 81a7799

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

StructFields.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ sub render_field_metadata_rec($$) {
594594
if ($subtype && $subtype eq 'enum') {
595595
push @field_defs, [ "${FLD}(PRIMITIVE, $name)", type_identity_reference($field), 0, $extra ];
596596
} else {
597-
push @field_defs, [ "${FLD}(SUBSTRUCT, $name)", type_identity_reference($field), 0, $extra ];
597+
push @field_defs, [ "${FLD}(SUBSTRUCT, $name)", type_idfun_reference($field), 0, $extra ];
598598
}
599599
}
600600
} elsif ($meta eq 'pointer') {

0 commit comments

Comments
 (0)