# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #111418]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=111418 >

<masak> nom: sub infix:<*+> ($a,$b) { $a * $b + $b }; say 2 *+ 5
<p6eval> nom e95935: OUTPUT«10␤»
* masak submits rakudobug
<jnthn> wtf
<moritz> nom: sub infix:<*+> ($a,$b) { $a * $b + $b }; say infix:<*+>(2, 5)
<p6eval> nom e95935: OUTPUT«15␤»
<felher> hm. Does nom think its 2 *(+5)?
<jnthn> yeah but...even the cheating LTM that Rakudo's parser depends
on is meant to get *that* case right.
<masak> that's why I'm submitting it as a bug :)
<jnthn> Well, I dobut I'm gonna hunt down a bug in a load of code I
plan to eliminate as soon as I get the tuits. :)
<jnthn> Hopefully the new LTM engine gets it righter.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-compiler @
postedFeb 28, '12 at 9:27p
activeFeb 28, '12 at 9:27p

1 user in discussion

Carl Mäsak: 1 post



site design / logo © 2019 Grokbase