# New Ticket Created by  Allison Randal 
# Please include the string:  [perl #37541]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=37541 >


Currently the error message when a particular opcode isn't found  
gives the name of the opcode and the number of arguments passed in:

error:imcc:op not found 'setattribute' (setattribute<3>)

in file 'testlag.pir' line 51

But this isn't very helpful when I know that setattribute takes 3  
arguments, and the problem is that I passed in PMC, STR, INT instead  
of PMC, STR, PMC. (Not really a big deal, but offputting for newbies,  
and I run into it just often enough to make it an "itch".)

I've attached a patch with a more verbose error message. Even more  
helpful would be listing the types that were passed in.

Allison

Attachment: errormes_op_not_found.patch
Description: Binary data

Reply via email to