diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/hir_typeck/expr.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hir_typeck/expr.cpp b/src/hir_typeck/expr.cpp index cc7fa04a..a11b5e7e 100644 --- a/src/hir_typeck/expr.cpp +++ b/src/hir_typeck/expr.cpp @@ -1435,7 +1435,9 @@ namespace typeck { node.m_arg_types.push_back( mv$(fcn_ret) ); ), (Function, - TODO(node.span(), "CallValue with Function - " << ty); + for( const auto& arg : e.m_arg_types ) + node.m_arg_types.push_back( arg.clone() ); + node.m_arg_types.push_back( e.m_rettype->clone() ); ), (Infer, ) |