diff options
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs index 2f918a8..719ee3f 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -34,7 +34,7 @@ pub fn parse_str(input: &str) -> Result<Expression, peg::error::ParseError<peg:: match k.as_str() { "empty" => Type::Empty, "unit" => Type::Unit, - "bool" => Type::Bool, + "bool" => Type::Boolean, "nat" => Type::Natural, "int" => Type::Integer, _ => panic!("invalid type"), // fixme: raise an error |