Ignore:
Timestamp:
Nov 24, 2023, 10:14:27 AM (6 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
f48dfcd
Parents:
53dac82
Message:

Box pass Eraser now removes the polymorphic arguments now that the functions are no longer actually polymorphic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/CodeGeneratorNew.cpp

    r53dac82 r3c4003b9  
    171171        // Add the forall clause.
    172172        // TODO: These probably should be removed by now and the assert used.
    173         if ( !decl->type_params.empty() && !options.genC ) {
    174                 //assertf( !options.genC, "FunctionDecl::forall should not reach code generation." );
     173        if ( !decl->type_params.empty() ) {
     174                assertf( !options.genC, "FunctionDecl forall should not reach code generation." );
    175175                acc << "forall(";
    176176                subCG.core.genCommaList( decl->type_params );
Note: See TracChangeset for help on using the changeset viewer.