01-04-2021, 08:40 AM
Hi,
That's a compiler error.
The (player ....) is not an IntFunction but a ludeme used to encapsulate a player concept here.
Consequently that ludeme just does not except a IntFunction to specify the player but a (player ...) ludeme.
However before the holidays we discussed with Cameron about an idea to return more detailed errors from the compiler.
I am not sure when we look more closely about that but when we will do it, you should be able to see automatically in which ludeme which parameter is wrong for the compiler.
Regards,
Eric
That's a compiler error.
The (player ....) is not an IntFunction but a ludeme used to encapsulate a player concept here.
Consequently that ludeme just does not except a IntFunction to specify the player but a (player ...) ludeme.
However before the holidays we discussed with Cameron about an idea to return more detailed errors from the compiler.
I am not sure when we look more closely about that but when we will do it, you should be able to see automatically in which ludeme which parameter is wrong for the compiler.
Regards,
Eric