Closed tonysparks closed 1 year ago
Allow for method definitions on any type not just aggregate types.
Example:
func (this: i32) add(other: i32): i32 { return this + other } var result = 4_i32.add(4) assert(result == 8)
Allow for method definitions on any type not just aggregate types.
Example: