type Point { x: i32, y: i32, } fn sum(point: Point) -> i32 { return point.x + point.y } pub fn main(world: World) -> Void raises { let point: Point = Point { x: 40, y: 2 } if sum(point) == 42 { check world.out.write("native shape") } }