Derive key for encoding should pass through recursion

This commit is contained in:
Ayaz Hafiz 2023-02-22 10:17:38 -06:00
parent 9b7c4bf367
commit 71c76c598a
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -135,7 +135,8 @@ impl FlatEncodable {
Self::from_var(subs, range.default_compilation_variable())
}
//
Content::RecursionVar { .. } => Err(Underivable),
Content::RecursionVar { structure, .. } => Self::from_var(subs, structure),
//
Content::Error => Err(Underivable),
Content::FlexVar(_)
| Content::RigidVar(_)