Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/Autogen.cpp

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