leo/tests/expectations/compiler/tuple/declare_fail.out
2022-11-08 15:49:47 -08:00

6 lines
311 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372003]: Expected type `boolean` but type `u64` was found\n --> compiler-test:5:35\n |\n 5 | let t: (bool, bool) = (a, 1u64); // We should be declaring to a boolean, not a u64.\n | ^^^^\n"