Merge pull request #5203 from roc-lang/virtual-dom-annotations

Fix a few bugs Virtual-DOM cropped up
This commit is contained in:
Ayaz 2023-03-25 20:00:51 -05:00 committed by GitHub
commit 8c55e8126d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 14 deletions

View file

@ -130,7 +130,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(_)