Ignore:
Timestamp:
Apr 26, 2018, 1:32:53 PM (6 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
new-env, with_gc
Children:
7a37f25
Parents:
1cdfa82
git-author:
Aaron Moss <a3moss@…> (04/25/18 17:44:18)
git-committer:
Aaron Moss <a3moss@…> (04/26/18 13:32:53)
Message:

Leftover cleanup from merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Keywords.cc

    r1cdfa82 r42107b4  
    284284                        // convert (thread &)t to (thread_desc &)*get_thread(t), etc.
    285285                        if( !type_decl ) SemanticError( cast, context_error );
    286                         Expression * arg = cast->arg;
    287                         cast->arg = nullptr;
    288                         delete cast;
    289286                        return new CastExpr(
    290287                                UntypedExpr::createDeref(
    291                                         new UntypedExpr( new NameExpr( getter_name ), { arg } )
     288                                        new UntypedExpr( new NameExpr( getter_name ), { cast->arg } )
    292289                                ),
    293290                                new ReferenceType(
Note: See TracChangeset for help on using the changeset viewer.