leo/tests/expectations/compiler/scalar/square_root_fail.out
Pranav Gaddamadugu e1a148a93e Regen expectations
2022-10-05 23:52:37 -07:00

6 lines
290 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372007]: Expected one type from `field`, but got `scalar`\n --> compiler-test:5:16\n |\n 5 | return a.square_root(); // square root not supported for scalar types.\n | ^^^^^^^^^^^^^^^\n"