Changeset 42107b4 for src/Concurrency
- Timestamp:
- Apr 26, 2018, 1:32:53 PM (6 years ago)
- Branches:
- new-env, with_gc
- Children:
- 7a37f258
- Parents:
- 1cdfa82
- git-author:
- Aaron Moss <a3moss@…> (04/25/18 17:44:18)
- git-committer:
- Aaron Moss <a3moss@…> (04/26/18 13:32:53)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Keywords.cc
r1cdfa82 r42107b4 284 284 // convert (thread &)t to (thread_desc &)*get_thread(t), etc. 285 285 if( !type_decl ) SemanticError( cast, context_error ); 286 Expression * arg = cast->arg;287 cast->arg = nullptr;288 delete cast;289 286 return new CastExpr( 290 287 UntypedExpr::createDeref( 291 new UntypedExpr( new NameExpr( getter_name ), { arg } )288 new UntypedExpr( new NameExpr( getter_name ), { cast->arg } ) 292 289 ), 293 290 new ReferenceType(
Note: See TracChangeset
for help on using the changeset viewer.