hi! I add "implicitReceivers " to both Compilation...
# scripting
r
hi! I add "implicitReceivers " to both CompilationConfiguration and EvaluationConfiguration with same statement. but there is error reported in runtime "java.lang.IllegalArgumentException: argument type mismatch" . how can i do with implicitReceivers properly
i
Could you please show some code. And maybe a bit of the exception callstack. They should be different statements - in the compilation configuration you specify types of your implicit receivers, in the evaluation one - actual objects. And you should make sure they match.
r
the type in compilation configuration and the type of actual object in evaluation they don't match. when i look into breakpoint. they are Desktop@8965 and Desktop@25685. why? what i miss. i just defined only one Desktop here