leo/tests/expectations/compiler/tuple/declare_fail.out

6 lines
311 B
Plaintext
Raw Normal View History

2022-08-02 00:14:39 +03:00
---
namespace: Compile
expectation: Fail
outputs:
2022-10-12 08:11:28 +03:00
- "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"