1
Fork 0

Un-revert "Use different syntax for checks that matter to typestate", fixing the problem.

This reverts commit d08b443fff.
This commit is contained in:
Patrick Walton 2011-05-02 17:47:24 -07:00
parent 480eda0f10
commit 147a2d655f
182 changed files with 1256 additions and 1239 deletions

View file

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