aboutsummaryrefslogtreecommitdiffstats
path: root/src/compile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile.cpp')
-rw-r--r--src/compile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile.cpp b/src/compile.cpp
index 2b16a78..e8e06b8 100644
--- a/src/compile.cpp
+++ b/src/compile.cpp
@@ -46,7 +46,7 @@ AFn::compile(CEnv& cenv)
CVal
ACall::compile(CEnv& cenv)
{
- AFn* c = cenv.resolve(at(0))->to<AFn*>();
+ AFn* c = cenv.resolve(head())->to<AFn*>();
if (!c) return NULL; // Primitive