Changeset 13cdc8c for src/Concurrency
- Timestamp:
- Mar 30, 2022, 10:44:10 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- f870e257
- Parents:
- ee3da78 (diff), bdfd0bd (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. - File:
-
- 1 edited
-
src/Concurrency/KeywordsNew.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/KeywordsNew.cpp
ree3da78 r13cdc8c 88 88 auto typeDecl = ast::deepCopy( typeParam ); 89 89 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 ) ); 92 91 for ( auto & assertion : typeDecl->assertions ) { 93 92 mutFunc->assertions.push_back( assertion ); … … 108 107 for ( const ast::ptr<ast::TypeDecl> & typeDecl : mutFunc->type_params ) { 109 108 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 ) ) ); 112 110 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 ) ) ); 115 112 } 116 113
Note:
See TracChangeset
for help on using the changeset viewer.