Dechenjm / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

List available types when no method/function with given argument found #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(feature request)
E.g. running the hello.crk example, the compiler reports:
ParseError: hello.crk:4: No method exists matching puts with these argument 
types.

It would be great if the error message mentioned what the argument types were.
Secondly, the compiler should report the available interfaces, e.g.:
Found:
crack.lang.puts(String)
crack.lang.puts(bytearray)

It would also be useful to know the line number of the file where the function 
definition was found if possible.

Original issue reported on code.google.com by Conrad.S...@gmail.com on 3 Oct 2010 at 1:48

GoogleCodeExporter commented 9 years ago

Original comment by mind...@gmail.com on 3 Oct 2010 at 2:37

GoogleCodeExporter commented 9 years ago
added in e3edc3ff01b2

Original comment by weyrick on 2 Jun 2011 at 7:09