fix top level

This commit is contained in:
nora 2021-10-31 12:29:17 +01:00
parent 9837713771
commit c6e5a5d686
5 changed files with 68 additions and 39 deletions

View file

@ -8,7 +8,7 @@ use crate::errors::Span;
pub type Symbol = String;
#[derive(Debug, Clone, PartialEq)]
pub struct Program(pub Block);
pub struct Program(pub Vec<Stmt>);
#[derive(Debug, Clone, PartialEq)]
pub struct Block(pub Vec<Stmt>);