original.name="TypeEquals_Valid_42"
======
>>> main.whiley
type bop is {int y, int x}
type expr is int | bop
function f(expr e) -> int:
if e is bop:
return e.x + e.y
else:
return e
public export method test() :
int x = f(1)
assume x == 1
x = f({y: 10, x: 4})
assume x == 14
---