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

6 lines
282 B
Plaintext
Raw Normal View History

2022-08-02 00:14:39 +03:00
---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372007]: Expected one type from `field`, but got `scalar`\n --> compiler-test:4:12\n |\n 4 | return a.square_root(); // square root not supported for scalar types.\n | ^^^^^^^^^^^^^^^\n"