From 0c717c721e7ec4f5708d17183bb669c33bbb0127 Mon Sep 17 00:00:00 2001 From: greg Date: Mon, 15 Feb 2016 23:41:00 -0800 Subject: [PATCH] Import Function type --- src/compilation.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compilation.rs b/src/compilation.rs index f11f21f..6e15082 100644 --- a/src/compilation.rs +++ b/src/compilation.rs @@ -8,7 +8,7 @@ use self::iron_llvm::core; use self::iron_llvm::core::types::{RealTypeCtor, RealTypeRef}; use self::iron_llvm::{LLVMRef, LLVMRefCtor}; -use parser::{ParseResult, AST, ASTNode, Prototype, Expression}; +use parser::{ParseResult, AST, ASTNode, Prototype, Function, Expression}; pub struct Context { context: core::Context, @@ -112,3 +112,5 @@ impl IRBuilder for Function { } } + +