fix #230
This commit is contained in:
parent
32653df178
commit
ad6833ac79
|
@ -30,7 +30,7 @@ pic_value
|
|||
pic_record_ref(pic_state *pic, struct pic_record *rec, pic_sym *slot)
|
||||
{
|
||||
if (! pic_dict_has(pic, rec->data, slot)) {
|
||||
pic_errorf(pic, "slot named ~s is not found for record: ~s", pic_obj_value(slot), rec);
|
||||
pic_errorf(pic, "slot named ~s is not found for record: ~s", pic_obj_value(slot), pic_obj_value(rec));
|
||||
}
|
||||
return pic_dict_ref(pic, rec->data, slot);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue