Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/bugs/7.cfa

    rfd54fef r4d23dd2  
    88
    99// (Bug 1 unresolved as of this test.)
    10 forall(T)
     10forall(otype T)
    1111struct stack_node;
    1212
    13 forall(T)
     13forall(otype T)
    1414struct stack_node {
    1515    stack_node(T) * next;
     
    1717};
    1818
    19 forall(T)
     19forall(otype T)
    2020struct stack {
    2121    stack_node(T) * head;
    2222};
    2323
    24 trait stack_errors(T) {
     24trait stack_errors(otype T) {
    2525    T emptyStackHandler (stack(T) * this);
    2626};
    2727
    28 forall(T | stack_errors(T))
     28forall(otype T | stack_errors(T))
    2929T pop (stack(T) * this) {
    3030    return (T){};
Note: See TracChangeset for help on using the changeset viewer.