leo/tests/expectations/compiler/scalar/div_fail.out

6 lines
317 B
Plaintext
Raw Normal View History

2022-08-02 00:14:39 +03:00
---
namespace: Compile
expectation: Fail
outputs:
2022-10-06 09:52:37 +03:00
- "Error [ETYC0372007]: Expected one type from `field, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `scalar`\n --> compiler-test:5:16\n |\n 5 | return a / b; // division not supported for scalar types.\n | ^^^^^\n"