Ignore:
Timestamp:
Mar 29, 2022, 4:41:30 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
Children:
4598e03
Parents:
edf247b (diff), 6e47b49 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/KeywordsNew.cpp

    redf247b rd4da1535  
    8888                auto typeDecl = ast::deepCopy( typeParam );
    8989                mutFunc->type_params.push_back( typeDecl );
    90                 mutType->forall.push_back(
    91                         new ast::TypeInstType( typeDecl->name, typeDecl ) );
     90                mutType->forall.push_back( new ast::TypeInstType( typeDecl ) );
    9291                for ( auto & assertion : typeDecl->assertions ) {
    9392                        mutFunc->assertions.push_back( assertion );
     
    108107        for ( const ast::ptr<ast::TypeDecl> & typeDecl : mutFunc->type_params ) {
    109108                paramTypeInst->params.push_back(
    110                         new ast::TypeExpr( location,
    111                                 new ast::TypeInstType( typeDecl->name, typeDecl ) ) );
     109                        new ast::TypeExpr( location, new ast::TypeInstType( typeDecl ) ) );
    112110                typeParamInst->params.push_back(
    113                         new ast::TypeExpr( location,
    114                                 new ast::TypeInstType( typeDecl->name, typeDecl ) ) );
     111                        new ast::TypeExpr( location, new ast::TypeInstType( typeDecl ) ) );
    115112        }
    116113
Note: See TracChangeset for help on using the changeset viewer.