Ignore:
Timestamp:
Dec 17, 2020, 12:28:03 PM (10 months ago)
Author:
Colby Alexander Parsons <caparsons@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
7522692
Parents:
28e88d7
Message:

removed listed requirement for collections since it was redundant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/sequence.cfa

    r28e88d7 r19de7864  
    2121        Fred *& Next( Fred * n ) {
    2222                return (Fred *)Next( (Colable *)n );
    23         }
    24 
    25         bool listed( Fred * n ) {
    26                 return Next( (Colable *)n ) != 0p;
    2723        }
    2824
     
    8985
    9086        Mary *& Back( Mary * n ) {
    91                 return (Mary *)Back( (Seqable *)n );
     87                return (Mary *)Back( (Fred *)n );
    9288        }
    9389
    9490        Mary *& Next( Mary * n ) {
    95                 return (Mary *)Next( (Colable *)n );
    96         }
    97 
    98         bool listed( Mary * n ) {
    99                 return Next( (Colable *)n ) != 0p;
     91                return (Mary *)Next( (Fred *)n );
    10092        }
    10193
Note: See TracChangeset for help on using the changeset viewer.