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

6 lines
303 B
Plaintext
Raw Normal View History

2022-08-02 00:14:39 +03:00
---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372003]: Expected type `boolean` but type `u64` was found\n --> compiler-test:4:31\n |\n 4 | let t: (bool, bool) = (a, 1u64); // We should be declaring to a boolean, not a u64.\n | ^^^^\n"