Added inference of array length

This commit is contained in:
Lenard Pratt 2019-04-03 23:23:58 +01:00
parent 36f5d99756
commit 2d73c909fe
6 changed files with 62 additions and 5 deletions

View file

@ -108,6 +108,10 @@ impl ArrayExpr {
pub fn exprs(&self) -> impl Iterator<Item = &Expr> {
super::children(self)
}
pub fn repeat(&self) -> Option<&Expr> {
super::child_opt(self)
}
}
// ArrayType