Changes in src/Concurrency/KeywordsNew.cpp [b230091:400b8be]
- File:
-
- 1 edited
-
src/Concurrency/KeywordsNew.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/KeywordsNew.cpp
rb230091 r400b8be 88 88 auto typeDecl = ast::deepCopy( typeParam ); 89 89 mutFunc->type_params.push_back( typeDecl ); 90 mutType->forall.push_back( new ast::TypeInstType( typeDecl ) ); 90 mutType->forall.push_back( 91 new ast::TypeInstType( typeDecl->name, typeDecl ) ); 91 92 for ( auto & assertion : typeDecl->assertions ) { 92 93 mutFunc->assertions.push_back( assertion ); … … 107 108 for ( const ast::ptr<ast::TypeDecl> & typeDecl : mutFunc->type_params ) { 108 109 paramTypeInst->params.push_back( 109 new ast::TypeExpr( location, new ast::TypeInstType( typeDecl ) ) ); 110 new ast::TypeExpr( location, 111 new ast::TypeInstType( typeDecl->name, typeDecl ) ) ); 110 112 typeParamInst->params.push_back( 111 new ast::TypeExpr( location, new ast::TypeInstType( typeDecl ) ) ); 113 new ast::TypeExpr( location, 114 new ast::TypeInstType( typeDecl->name, typeDecl ) ) ); 112 115 } 113 116
Note:
See TracChangeset
for help on using the changeset viewer.