[INTERPRETER]
* BUG: Object.Call() does not try to convert the return value if there is no return value! git-svn-id: svn://localhost/gambas/trunk@4467 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
2fa263b81f
commit
9a0e045cd1
1 changed files with 3 additions and 1 deletions
|
@ -765,7 +765,9 @@ BEGIN_METHOD(Object_Call, GB_OBJECT object; GB_STRING method; GB_OBJECT params)
|
|||
}
|
||||
|
||||
GB_Call(&func, np, FALSE);
|
||||
GB_ReturnConvVariant();
|
||||
|
||||
if (TEMP.type != T_VOID)
|
||||
GB_ReturnConvVariant();
|
||||
|
||||
END_METHOD
|
||||
|
||||
|
|
Loading…
Reference in a new issue