[INTERPRETER]

* BUG: Do not crash anymore when converting a pointer to an anonymous object. Raise an error instead.


git-svn-id: svn://localhost/gambas/trunk@8030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2016-12-31 12:01:12 +00:00
parent 397a1eec2b
commit 4e887b93b3

View file

@ -890,7 +890,7 @@ __OBJECT:
goto __TYPE;
}
if (value->type == T_POINTER)
if (value->type == T_POINTER && type != T_OBJECT)
{
class = (CLASS *)type;