diff options
Diffstat (limited to 'autochomp/src/main.rs')
| -rw-r--r-- | autochomp/src/main.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/autochomp/src/main.rs b/autochomp/src/main.rs index cbc0646..e1faafc 100644 --- a/autochomp/src/main.rs +++ b/autochomp/src/main.rs @@ -7,7 +7,7 @@ use std::{  use chewed::{IterWrapper, Parser};  use chomp::{      chomp::{ -        ast::substitute::InlineCalls, +        ast::substitute::InlineGlobal,          typed::{              context::Context,              lower::{Backend, GenerateCode}, @@ -32,7 +32,7 @@ fn main() {          .and_then(|(funs, goal)| {              funs.into_iter()                  .try_rfold(goal, |goal, function| { -                    goal.fold(&mut InlineCalls { function }) +                    goal.fold(&mut InlineGlobal { function })                  })                  .map_err(|e| Box::new(e) as Box<dyn Error>)          })  | 
