asteroid
asteroid copied to clipboard
Better error reporting on incorrect object member functions
The function length is not part of the object interface
ast> let o = A(1,2)
ast> o @length()
error: (id...) is not a member of type A
ast>
The error message should clearly state so.