leo/tests/expectations/compiler/function/duplicate_parameter_fail.out
d0cd 48a1f0590b
Rename console.assert* to assert*. (#2205)
* 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
2022-12-06 21:56:48 -08:00

6 lines
301 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [EPAR0370032]: `console` statements are not yet supported.\n --> compiler-test:5:9\n |\n 5 | console.log(\"{}\", 1u8);\n | ^^^^^^^\n |\n = Consider using `assert`, `assert_eq`, or `assert_neq` instead."