No such method was found for which the generic parameter types could be inferred. It may be necessary to specify the generic parameters explicitly. The context implies that the required method is an instance method.
$set sourceformat(variable)
class-id Main.
method-id M static.
declare o = new Main
invoke o::GenericMethod(1, 1) *> This line causes an error
invoke o::GenericMethod[binary-long](1, 1) *> This line does not
end method.
method-id GenericMethod using T (p1 as binary-long, p2 as binary-long).
display p1 space p2
goback
end method.
end class.