Skip to content

Commit

Permalink
thanks to ven++ for spotting this missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Mar 29, 2017
1 parent a93f1ba commit f39f605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/6model/reprs/P6opaque.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ static void change_type(MVMThreadContext *tc, MVMObject *obj, MVMObject *new_typ
/* Ensure we don't have a type object. */
if (!IS_CONCRETE(obj))
MVM_exception_throw_adhoc(tc,
"Cannot change the type of a %s type object");
"Cannot change the type of a %s type object", STABLE(obj)->debug_name);

/* Ensure that the REPR of the new type is also P6opaque. */
if (REPR(new_type)->ID != REPR(obj)->ID)
Expand Down

0 comments on commit f39f605

Please sign in to comment.