iter 22b.2.1: add Constraint struct, Type::Forall.constraints

This commit is contained in:
2026-05-09 17:34:39 +02:00
parent e1d748d64e
commit b636b883a3
14 changed files with 94 additions and 20 deletions
+1
View File
@@ -858,6 +858,7 @@ impl<'a> Parser<'a> {
self.expect_rparen("forall-type")?;
Ok(Type::Forall {
vars,
constraints: vec![],
body: Box::new(body),
})
}