leo/tests/expectations/compiler/finalize/finalize_name_mismatch_fail.out
2022-11-12 09:53:29 -08:00

6 lines
354 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372045]: `finalize` name `mint_public` does not match function name `mint_private`\n --> compiler-test:11:5\n |\n 11 | finalize mint_private (public receiver: address, public amount: u64) {\n 12 | increment(account, receiver, amount);\n 13 | }\n | ^\n"