Skip to content

Commit af3db5b

Browse files
committed
Improve NYFI 4 message to include name of attribute not located.
1 parent ecc33ba commit af3db5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/6model/reprs/P6opaque.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ static void bind_attribute(PARROT_INTERP, PMC *obj, PMC *class_handle, STRING *n
524524

525525
/* Fall back to the spill storage. */
526526
Parrot_ex_throw_from_c_args(interp, NULL, EXCEPTION_INVALID_OPERATION,
527-
"P6opaque attributes NYFI 4");
527+
"P6opaque attributes NYFI 4 (attribute '%Ss' not found)", name);
528528
}
529529
static void bind_attribute_int(PARROT_INTERP, PMC *obj, PMC *class_handle, STRING *name, INTVAL hint, INTVAL value) {
530530
P6opaqueInstance *instance = (P6opaqueInstance *)PMC_data(obj);

0 commit comments

Comments
 (0)