Open p6rt opened 9 years ago
19:52:25 raydiak | m: say (:a(1):b(2)).hash; say %(:a(1):b(2)); say %(:a(1),:b(2)) 19:52:26 +camelia | rakudo-moar 442a56: OUTPUT«a => 1, b => 2a => 1a => 1, b => 2»
On 2015-06-07 13:01:49, raydiak@cyberuniverses.com wrote:
19:52:25 raydiak | m: say (:a(1):b(2)).hash; say %(:a(1):b(2)); say %(:a(1),:b(2)) 19:52:26 +camelia | rakudo-moar 442a56: OUTPUT«a => 1, b => 2a => 1a => 1, b => 2»
I believe the reason behind this is that contextualizers (such as %(...)) are not parsed with the normal () rule, and not handled by the circumfix:sym\<( )> action method. They have their own parsing logic here:
...and the corresponding action method (found at https://github.com/rakudo/rakudo/blob/a927a5a2c7570cc2c78ea69e8b0eff3b26cf48a5/src/Perl6/Actions.nqp#L1777) does not invoke &infix:\<,> like https://github.com/rakudo/rakudo/blob/a927a5a2c7570cc2c78ea69e8b0eff3b26cf48a5/src/Perl6/Actions.nqp#L4968 does.
The RT System itself - Status changed from 'new' to 'open'
Still reproducible (2017.11,HEAD(e5b660e))
On 2015-06-07 13:01:49, raydiak@cyberuniverses.com wrote:
19:52:25 raydiak | m: say (:a(1):b(2)).hash; say %(:a(1):b(2)); say %(:a(1),:b(2)) 19:52:26 +camelia | rakudo-moar 442a56: OUTPUT«a => 1, b => 2a => 1a => 1, b => 2»
Migrated from rt.perl.org#125353 (status was 'open')
Searchable as RT125353$