mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
48a1f0590b
* Add assert statements to AST * Add support in passes * Add parser support * Add tyc support * Add support for assert statements in the remaining passes * Fix examples, tests, and regen expectations * Fmt * Regen expectations
13 lines
143 B
Plaintext
13 lines
143 B
Plaintext
/*
|
|
namespace: ParseStatement
|
|
expectation: Pass
|
|
*/
|
|
|
|
assert_eq(x, y);
|
|
|
|
assert_eq(Foo { x: x }, Foo { x: y });
|
|
|
|
assert_neq(x, y);
|
|
|
|
assert(false);
|