diff options
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r-- | src/hir/from_ast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp index 6a43b790..053ad9b9 100644 --- a/src/hir/from_ast.cpp +++ b/src/hir/from_ast.cpp @@ -977,7 +977,7 @@ void _add_mod_val_item(::HIR::Module& mod, ::std::string name, bool is_pub, ::H ), (Struct, /// Add value reference - TU_IFLET( ::AST::StructData, e.m_data, Struct, e2, + TU_IFLET( ::AST::StructData, e.m_data, Tuple, e2, if( e2.ents.size() == 0 ) _add_mod_val_item( mod, item.name, item.is_pub, ::HIR::ValueItem::make_StructConstant({item_path.get_simple_path()}) ); else |