[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:
Benoît Minisini 2012-02-11 19:12:32 +00:00
parent 2fa263b81f
commit 9a0e045cd1

View file

@ -765,6 +765,8 @@ BEGIN_METHOD(Object_Call, GB_OBJECT object; GB_STRING method; GB_OBJECT params)
}
GB_Call(&func, np, FALSE);
if (TEMP.type != T_VOID)
GB_ReturnConvVariant();
END_METHOD