[INTERPRETER]
* NEW: Static unknown properties can be used in a dynamic context now. git-svn-id: svn://localhost/gambas/trunk@4897 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
6fd31cfe59
commit
fa67280e7a
2 changed files with 2 additions and 2 deletions
|
@ -278,7 +278,7 @@ _POP_UNKNOWN_PROPERTY:
|
|||
*SP = SP[-2];
|
||||
PUSH();
|
||||
|
||||
EXEC_special(SPEC_UNKNOWN, class, object, 1, TRUE);
|
||||
EXEC_special(SPEC_UNKNOWN, class, class->unknown_static ? NULL : object, 1, TRUE);
|
||||
goto _FIN;
|
||||
|
||||
_NOT_A_PROPERTY:
|
||||
|
|
|
@ -108,7 +108,7 @@ _PUSH_GENERIC:
|
|||
if (SP->_boolean.value)
|
||||
{
|
||||
SP--;
|
||||
EXEC_special(SPEC_UNKNOWN, class, object, 0, FALSE);
|
||||
EXEC_special(SPEC_UNKNOWN, class, class->unknown_static ? NULL : object, 0, FALSE);
|
||||
VALUE_conv_variant(&SP[-1]);
|
||||
OBJECT_UNREF(object, "EXEC_push_unknown");
|
||||
goto _FIN;
|
||||
|
|
Loading…
Reference in a new issue