leo/tests/expectations/compiler/scalar/div_fail.out
2022-08-01 14:14:39 -07:00

6 lines
309 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372007]: Expected one type from `field, i8, i16, i32, i64, i128, u8, u16, u32, u64, u128`, but got `scalar`\n --> compiler-test:4:12\n |\n 4 | return a / b; // division not supported for scalar types.\n | ^^^^^\n"