Closed p6rt closed 6 years ago
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.
On Wed, 09 Dec 2015 08:38:16 -0800, alex.jakimenko@gmail.com 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
The RT System itself - Status changed from 'new' to 'open'
@zoffixznet - Status changed from 'open' to 'resolved'
Migrated from rt.perl.org#126856 (status was 'resolved')
Searchable as RT126856$