Skip Menu |
Report information
Id: 119215
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] empty-list adverb on literal hash yields LTA, too-internal error message in Rakudo
Date: Fri, 9 Aug 2013 17:24:42 +0200
To: rakudobug [...] perl.org
From: Carl Mäsak <cmasak [...] gmail.com>
Download (untitled) / with headers
text/plain 329b
<[Coke]> r: {}:<> <camelia> rakudo b17b0b: OUTPUT«===SORRY!===␤No such method 'has_compile_time_value' for invocant of type 'NQPMu'␤» <jnthn> eeks * masak submits rakudobug <masak> r: { foo => 42 }:<> <camelia> rakudo b17b0b: OUTPUT«===SORRY!===␤No such method 'has_compile_time_value' for invocant of type 'NQPMu'␤»
Download (untitled) / with headers
text/plain 533b
On Fri Aug 09 08:25:00 2013, masak wrote: Show quoted text
> <[Coke]> r: {}:<> > <camelia> rakudo b17b0b: OUTPUT«===SORRY!===␤No such method > 'has_compile_time_value' for invocant of type 'NQPMu'␤» > <jnthn> eeks > * masak submits rakudobug > <masak> r: { foo => 42 }:<> > <camelia> rakudo b17b0b: OUTPUT«===SORRY!===␤No such method > 'has_compile_time_value' for invocant of type 'NQPMu'␤»
Now says: ➤ perl6 Show quoted text
> {}:<>
➤ perl6 --version This is perl6 version 2014.07-165-gf9f7464 built on MoarVM version 2014.07-388-ge953112 -Scott
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 303b
The error message is no longer too internal, but is it adequate enough? $ perl6-m -e '{}:<>' ## identical error with perl6-p ===SORRY!=== This type does not support positional operations $ perl6-j -e '{}:<>' ===SORRY!=== java.lang.RuntimeException: This type does not support positional operations
Still a very weird error (2017.11,HEAD(e5b660e)):

Show quoted text
===SORRY!===
This type (QAST::WVal) does not support positional operations


And no, that's not adequate enough.

On 2014-10-16 03:48:58, bartolin@gmx.de wrote:
Show quoted text
> The error message is no longer too internal, but is it adequate enough?
>
> $ perl6-m -e '{}:<>' ## identical error with perl6-p
> ===SORRY!===
> This type does not support positional operations
>
> $ perl6-j -e '{}:<>'
> ===SORRY!===
> java.lang.RuntimeException: This type does not support positional operations



This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org