diff options
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r-- | src/hir/from_ast.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp index 9667aa70..22477926 100644 --- a/src/hir/from_ast.cpp +++ b/src/hir/from_ast.cpp @@ -1038,7 +1038,11 @@ void _add_mod_val_item(::HIR::Module& mod, ::std::string name, bool is_pub, ::H BUG(sp, "Stray macro invocation in " << path); ), (ExternBlock, - TODO(sp, "Expand ExternBlock"); + if( e.items().size() > 0 ) + { + TODO(sp, "Expand ExternBlock"); + } + // TODO: Insert a record of the `link` attribute ), (Impl, TODO(sp, "Expand Item::Impl"); |