If this is a code issue, provide a minimal code example:
struct MyStruct {
public var x: Int;
public var y: Float;
}
function main() {
var a = Some(struct MyStruct {x: 1, y: 2});
match a {
Some(x) => match if x.x == 1 then true else false {
true => puts("1");
default => puts("something else");
}
}
}
If this is a code issue, provide a minimal code example: