Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/Autogen.cpp

    r0bd3faf rb262cb3  
    440440
    441441                auto * paramType = ast::deepCopy( member->get_type() );
    442                 paramType->attributes.clear();
     442                erase_if( paramType->attributes, []( ast::Attribute const * attr ){
     443                        return !attr->isValidOnFuncParam();
     444                } );
    443445                ast::ObjectDecl * param = new ast::ObjectDecl(
    444446                        getLocation(), member->name, paramType );
Note: See TracChangeset for help on using the changeset viewer.