From 767b08186f2a111c8b6cbeee542d49bd6017dcc7 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 23 Aug 2016 10:49:16 +0800 Subject: AST - Fix uninitialised receiver type --- src/ast/ast.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ast/ast.cpp') 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) ) -- cgit v1.2.3