[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:
parent
397a1eec2b
commit
4e887b93b3
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ __OBJECT:
|
|||
goto __TYPE;
|
||||
}
|
||||
|
||||
if (value->type == T_POINTER)
|
||||
if (value->type == T_POINTER && type != T_OBJECT)
|
||||
{
|
||||
class = (CLASS *)type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue