diff options
author | John Hodge <tpg@mutabah.net> | 2016-08-23 10:49:16 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-08-23 10:49:16 +0800 |
commit | 767b08186f2a111c8b6cbeee542d49bd6017dcc7 (patch) | |
tree | d141a6a38b4942d6b65b23e2373b8e16db2c53e6 /src/ast/ast.cpp | |
parent | d68a71d08bed4ec2a8009562642066ce64068114 (diff) | |
download | mrust-767b08186f2a111c8b6cbeee542d49bd6017dcc7.tar.gz |
AST - Fix uninitialised receiver type
Diffstat (limited to 'src/ast/ast.cpp')
-rw-r--r-- | src/ast/ast.cpp | 1 |
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) )
|