summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 10156e6..13b0630 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,7 +6,7 @@ use std::{
use chomp::{
chomp::{
- ast::substitute::InlineCalls,
+ ast::substitute::InlineGlobal,
typed::{
context::Context,
lower::{Backend, GenerateCode},
@@ -28,7 +28,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>)
})