Skip to content
Snippets Groups Projects
Commit 6b8cc597 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Compiler: Fixed type for F_MAGIC_SET_INDEX.

Fixes [LysLysKOM 21920033].
parent fd7f5884
No related branches found
No related tags found
No related merge requests found
......@@ -3918,7 +3918,8 @@ void fix_type_field(node *n)
case F_MAGIC_SET_INDEX:
/* FIXME: Could have a stricter type for ::`->=(). */
/* FIXME: */
MAKE_CONSTANT_TYPE(n->type, tFunc(tStr tMix tOr(tVoid,tInt), tVoid));
MAKE_CONSTANT_TYPE(n->type, tFunc(tStr tMix tOr3(tVoid,tObj,tDeprecated(tInt))
tOr(tVoid,tInt), tVoid));
break;
case F_MAGIC_INDICES:
MAKE_CONSTANT_TYPE(n->type, tFunc(tOr3(tVoid,tObj,tDeprecated(tInt))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment