leo/tests/expectations/compiler/structs/inline_member_pass.out
Pranav Gaddamadugu ce3fd38cd4 Regen expectations
2022-10-03 14:57:14 -07:00

6 lines
835 B
Plaintext

---
namespace: Compile
expectation: Fail
outputs:
- "Error [ETYC0372029]: Standard functions cannot have modes associated with their inputs.\n --> compiler-test:7:21\n |\n 7 | function main(const x: u8, y: bool) -> bool {\n | ^\n |\n = Consider removing the mode or using the keyword `transition` instead of `function`.\nError [ETYC0372005]: Unknown variable `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372004]: Could not determine the type of `b`\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^\nError [ETYC0372003]: Expected type `u8` but type `no type` was found\n --> compiler-test:10:13\n |\n 10 | return (b.x == a.x) == y;\n | ^^^^^^^^\n"