Changeset c8025a21 for tests


Ignore:
Timestamp:
Dec 17, 2020, 9:55:13 AM (10 months ago)
Author:
Colby Alexander Parsons <caparsons@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
28e88d7
Parents:
53449a4
Message:

fixed multi list test to reflect changes to collections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/multi_list.cfa

    r53449a4 rc8025a21  
    1919}
    2020
     21TaskDL *& Back( TaskDL * n ) {
     22        return (TaskDL *)Back( (Seqable *)n );
     23}
     24
     25TaskDL *& Next( TaskDL * n ) {
     26        return (TaskDL *)Next( (Colable *)n );
     27}
     28
     29bool listed( TaskDL * n ) {
     30        return Next( (Colable *)n ) != 0p;
     31}
     32
    2133struct TaskSL {
    2234        inline Colable;
     
    2941Task & task( TaskSL & this ) with( this ) {                             // getter routine for containing node
    3042        return node;
     43}
     44
     45TaskSL *& Next( TaskSL * n ) {
     46        return (TaskSL *)Next( (Colable *)n );
     47}
     48
     49bool listed( TaskSL * n ) {
     50        return Next( (Colable *)n ) != 0p;
    3151}
    3252
Note: See TracChangeset for help on using the changeset viewer.