leo/tests/compiler/records/owner_wrong_ty.leo
2022-07-07 16:15:11 -07:00

15 lines
213 B
Plaintext

/*
namespace: Compile
expectation: Fail
*/
// This record does define the `owner` variable but with the wrong type.
record Token {
gates: u64,
owner: bool,
}
function main() -> bool {
return true;
}