Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rakudo doesn't have a nice error message for accidental string concatenation with '.' (but STD does) #2414

Closed
p6rt opened this issue Jun 7, 2011 · 3 comments

Comments

@p6rt
Copy link

p6rt commented Jun 7, 2011

Migrated from rt.perl.org#92408 (status was 'resolved')

Searchable as RT92408$

@p6rt
Copy link
Author

p6rt commented Jun 7, 2011

From @masak

<masak> std​: my $foo; my $bar; $foo . $bar
<p6eval> std c843201​:
OUTPUT«�[31m===�[0mSORRY!�[31m===�[0m␤Unsupported use of . to
concatenate strings; in Perl 6 please use ~ at /tmp/F0lAyApPr7 line
1​:␤------> �[32mmy $foo; my $bar; $foo . �[33m⏏�[31m$bar�[0m␤Parse
failed␤FAILED 00​:01 114m␤»
<masak> rakudo​: my $foo; my $bar; $foo . $bar; say "alive"
<p6eval> rakudo 484a25​: OUTPUT«===SORRY!===␤Confused at line 22, near
"$foo . $ba"␤»
<masak> LTA :)
<jnthn> Patchies welcome :)
* masak submits rakudobuggie :)

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

From @moritz

fixed now, and tested in S32-exceptions/misc.t

@p6rt
Copy link
Author

p6rt commented Jan 4, 2013

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Jan 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant