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



If you accidentally use an `int` variable as a Callable, you get a  
helpful error:

     <Zoffix> m: my int $i; $i()
     <camelia> rakudo-moar 1f29cb: OUTPUT«No such method 'CALL-ME' for  
invocant of type 'Int'␤  in block <unit> at <tmp> line 1␤␤»

However, that's not the case if the variable is a parameter:

     <Zoffix> m: sub (int $i) { $i() }
     <camelia> rakudo-moar 1f29cb: OUTPUT«===SORRY!===␤callee  
expression must be an object␤»

Most heinous issue is the line number/file of the issue is missing  
from the error message.

Reply via email to