Skip to content

Commit

Permalink
propagate methods_type correctly into PyClassImplsBuilders of the var…
Browse files Browse the repository at this point in the history
…iants
  • Loading branch information
mkovaxx committed Nov 23, 2023
1 parent 44f201d commit 51ffb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-macros-backend/src/pyclass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ fn impl_complex_enum(
let pyclass_impl = PyClassImplsBuilder::new(
&variant_cls,
&variant_args,
PyClassMethodsType::Specialization,
methods_type,
field_getters,
vec![variant_new],
)
Expand Down

0 comments on commit 51ffb07

Please sign in to comment.