[perl #126856] [LTA] No spaces allowed around .^ and .? (^42 .^methods.say)

[email protected] ("Zoffix Znet via RT")
Newsgroups perl.perl6.compiler
Message-ID <[email protected]>
On Wed, 09 Dec 2015 08:38:16 -0800, [email protected] wrote:
> Code:
> ^42  .^methods.say
> 
> Result:
> ===SORRY!=== Error while compiling -e
> Unsupported use of . to concatenate strings; in Perl 6 please use ~
> at -e:1
> ------> 42    .^⏏methods.say
> 
> 
> Arguably it should work, just like you can put spaces around a single dot
> it should be possible to put spaces around 「.^」 and 「.?」.
> If it should not, then perhaps there is a way to improve this error
> message? It is way too off right now.


This now gives useful error message. Tests in post-release branch in: https://github.com/rakudo/rakudo/commit/ec23031d33
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.