Obviously, this is a wrong code snippet. I meant this:

my Str $a = 'x';
say $a<hello>;

On Sun, Jun 28, 2015 at 11:29 PM, perl6 via RT <perl6-bugs-follo...@perl.org
> wrote:

> Greetings,
>
> This message has been automatically generated in response to the
> creation of a trouble ticket regarding:
>         "LTA error message with postcircumfix <>",
> a summary of which appears below.
>
> There is no need to reply to this message right now.  Your ticket has been
> assigned an ID of [perl #125504].
>
> Please include the string:
>
>          [perl #125504]
>
> in the subject line of all future correspondence about this issue. To do
> so,
> you may reply to this message.
>
>                         Thank you,
>                         perl6-bugs-follo...@perl.org
>
> -------------------------------------------------------------------------
> Code:
> my Str $a = 'x';
> say $a{'hello'};
>
> Error:
> postcircumfix:<{ }> not defined for type Str
>   in block <unit> at ./test.pl:3
>
> The problem is that there is no { } in the code.
>
> Sure, <> is converted to {' '} that's why you get that in the error
> message, but it does not justify a LTA error message.
>
> Also, why this is not caught during compile-time? It looks like there is
> enough information to do that.
>
>

Reply via email to