Skip to content

Commit 78ef47a

Browse files
committed
codegen: pass the context to ancillary_prefix in the table codec
The oneof support added to the table codec calls ancillary_prefix, which takes the codegen context as its first argument on this branch.
1 parent 38f90b7 commit 78ef47a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎buffa-codegen/src/table_codec.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ impl Oneofs {
453453
}
454454
Ok(Self {
455455
prefix: ancillary_prefix(
456+
scope.ctx,
456457
AncillaryKind::Oneof,
457458
scope.current_package,
458459
scope.proto_fqn,

0 commit comments

Comments
 (0)