![]() |
|
Navigation |
Synopsis Attempt to call a non-existing Java method.
Description Rascal functions can be implemented in Java. This is the case for many functions in the standard library.
This requires these elements:
Remedy: Contact the Rascal developers:
Examples This is how the
size function on lists is declared in the Rascal library:
rascal>@javaClass{org.rascalmpl.library.Prelude} >>>>>>>public java int size(list[&T] lst); int (list[&T]): int size(list[&T]);This is the result of misspelling the function name ( siz instead of size ):
rascal>@javaClass{org.rascalmpl.library.Prelude} >>>>>>>public java int siz(list[&T] lst); |stdin:///|(0,76,<1,0>,<2,34>): No such Java method: org.rascalmpl.library.Prelude.siz(org.rascalmpl.value.IList) ![]() |