Commit 7cd19157 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Give the dedicated type to VMOD object instances

parent 787a505a
......@@ -497,6 +497,10 @@ vcc_Act_New(struct vcc *tl, struct token *t, struct symbol *sym)
XREF_NONE);
ERRCHK(tl);
AN(osym);
/* Scratch the generic INSTANCE type */
isym->type = osym->type;
CAST_OBJ_NOTNULL(vv, osym->eval_priv, VJSN_VAL_MAGIC);
// vv = object name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment