diff options
Diffstat (limited to 'src/parser/contexts.h')
-rw-r--r-- | src/parser/contexts.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser/contexts.h b/src/parser/contexts.h index 351f6a208..4acfc981a 100644 --- a/src/parser/contexts.h +++ b/src/parser/contexts.h @@ -1118,7 +1118,8 @@ struct ParseImplicitTypeDefsCtx : TypeParserCtx<ParseImplicitTypeDefsCtx> { : TypeParserCtx<ParseImplicitTypeDefsCtx>(typeIndices), in(in), types(types), implicitTypes(implicitTypes) { for (auto type : types) { - if (type.isSignature() && type.getRecGroup().size() == 1) { + if (type.isSignature() && type.getRecGroup().size() == 1 && + !type.isShared()) { sigTypes.insert({type.getSignature(), type}); } } |