Open JohnCoene opened 2 months ago
Check whether method exists.
type x: object { thing: bool } type y: object { another_thing: bool } func (obj: x) foo(): null { print("It's x!") } foo(x) # this should fail foo(y)
Requires R type inference
Check whether method exists.