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

6 lines
378 B
Plaintext
Raw Normal View History

2022-08-02 00:14:39 +03:00
---
namespace: Compile
expectation: Fail
outputs:
2022-09-01 02:22:52 +03:00
- "Error [EPAR0370005]: expected 'address', 'bool', 'field', 'group', 'scalar', 'string', 'i8', 'i16', 'i32', 'i64', 'i128', 'u8', 'u16', 'u32', 'u64', 'u128' -- found '('\n --> compiler-test:4:12\n |\n 4 | let t: (bool, bool) = (a, 1u64); // We should be declaring to a boolean, not a u64.\n | ^"