# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #66624]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66624 >
<szabgab> rakudo: say index "abcbd", "x"
<p6eval> rakudo ba09b2: OUTPUT«Attempt to index from negative position»
<szabgab> rakudo: index "abcbd", "x"
<p6eval> rakudo ba09b2: ( no output )
<moritz_> it returns a failure object
<moritz_> which throws an exception if used
<Matt-W> ooooh
<Matt-W> and when .Str is called on it, it tells you about the failure?
<masak> rakudo: 1+index("abcbd", "x")
<p6eval> rakudo ba09b2: OUTPUT«Attempt to index from negative position»
<moritz_> but that error message is bogus nonetheless
<Matt-W> it is a strange error message to be produced in that situation
* masak submits rakudobug