You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is reporting a bug in the code of Perseus. Details of the scope will be available in issue labels.
The author described their issue as follows:
ReactiveState derive macro panics when used on newtype structs:
proc-macro derive panicked
message: called Option::unwrap() on a None value
This is intended behavior, but there should be a cleaner error. Unit structs and enums are currently not supported by the macro, but implementing reactive state manually is usually not too tricky (and all documented). In your case, I would recommend moving the type into a field so you can use the macro as usual.
This issue is reporting a bug in the code of Perseus. Details of the scope will be available in issue labels.
The author described their issue as follows:
The steps to reproduce this issue are as follows:
#[derive(Clone, Serialize, Deserialize, ReactiveState)]
pub struct NewType(String);
A minimum reproducible example is available at <>.
Tribble internal data
dHJpYmJsZS1yZXBvcnRlZCxDLWJ1Zw==
The text was updated successfully, but these errors were encountered: