1
Fork 0

Revert "Use different syntax for checks that matter to typestate"

This reverts commit aa25f22f19. It broke stage2, not sure why yet.
This commit is contained in:
Graydon Hoare 2011-05-02 16:24:09 -07:00
parent 764de078e7
commit d08b443fff
182 changed files with 1239 additions and 1256 deletions

View file

@ -9,7 +9,7 @@ fn test_rec() {
rec(i = 100)
}
};
assert (res == rec(i = 100));
check (res == rec(i = 100));
}
fn test_tag() {
@ -26,7 +26,7 @@ fn test_tag() {
sad
}
};
assert (res == happy);
check (res == happy);
}
fn main() {