Changeset d2b94f2


Ignore:
Timestamp:
Jan 30, 2023, 9:35:31 PM (22 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
ce691d2
Parents:
1c75ef8
Message:

temporary fix to correct build error, fix in actor pass to come later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrent/actors/types.cfa

    r1c75ef8 rd2b94f2  
    2626}
    2727
    28 Allocation receive( derived_actor & receiver, d_msg & msg ) {
    29     return receive( receiver, msg.num );
    30 }
    31 
    3228struct derived_actor2 {
    3329    inline actor;
    3430};
    3531static inline void ?{}( derived_actor2 & this ) { ((actor &)this){}; }
    36 
    37 Allocation receive( derived_actor2 & receiver, d_msg & msg ) {
    38     mutex(sout) sout | msg.num;
    39     return Finished;
    40 }
    4132
    4233struct derived_actor3 {
     
    5041};
    5142static inline void ?{}( d_msg2 & this ) { ((message &)this){}; }
     43
     44Allocation receive( derived_actor2 & receiver, d_msg & msg ) {
     45    mutex(sout) sout | msg.num;
     46    return Finished;
     47}
     48
     49Allocation receive( derived_actor & receiver, d_msg & msg ) {
     50    return receive( receiver, msg.num );
     51}
    5252
    5353Allocation receive( derived_actor3 & receiver, d_msg & msg ) {
Note: See TracChangeset for help on using the changeset viewer.