Previously we only autmatically called procvars without parameters in TP/Delphi modes if their result type was equal to the parameter type to which they were passed. Resolves #39748.