summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ast/ast.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast/ast.cpp b/src/ast/ast.cpp
index 29ddf07f..f8d5598a 100644
--- a/src/ast/ast.cpp
+++ b/src/ast/ast.cpp
@@ -304,6 +304,7 @@ Module::ItemRef Module::find_item(const ::std::string& needle, bool allow_leaves
Function::Function(Span sp, GenericParams params, TypeRef ret_type, Arglist args):
m_span(sp),
+ m_receiver(Receiver::Free),
m_params( move(params) ),
m_rettype( move(ret_type) ),
m_args( move(args) )