Ignore:
Timestamp:
Apr 9, 2025, 9:07:31 PM (6 months ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
master
Children:
6174ecc
Parents:
50e8125
Message:

Partially fix #185.

This fix applies to functions, but not types.

The added test fails without the cfacpp changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cpp

    r50e8125 r119889f  
    290290        if ( typeMode ) return;
    291291        auto funcType = dynamic_cast<const ast::FunctionType *>( type );
    292         if ( funcType && !funcType->forall.empty() ) {
     292        if ( funcType && (!funcType->forall.empty() || !funcType->assertions.empty()) ) {
    293293                std::list< std::string > assertionNames;
    294294                int dcount = 0, fcount = 0, vcount = 0, acount = 0;
Note: See TracChangeset for help on using the changeset viewer.