a := 1 + null throws exception function 'addition(Long, Object)' not found
Seems to make sense, we have to explicitly define the null type.
a := 1 + b, with binding b -> null throws exception function 'addition(Long, Object)' not found (from resolution refactoring as functions)
Shouldn't we find a way to guess the type? Otherwise, we would have to cast all the variables used in a script (which is not possible in some cases, such as in the rules of check_hierarchy)
a := 1 + null
throws exceptionfunction 'addition(Long, Object)' not found
Seems to make sense, we have to explicitly define the null type.
a := 1 + b
, with bindingb -> null
throws exceptionfunction 'addition(Long, Object)' not found
(from resolution refactoring as functions)Shouldn't we find a way to guess the type? Otherwise, we would have to cast all the variables used in a script (which is not possible in some cases, such as in the rules of
check_hierarchy
)