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

Undeclared variable in error message adds three null bytes between characters of the error message #2788

Closed
p6rt opened this issue Jun 13, 2012 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jun 13, 2012

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

Searchable as RT113614$

@p6rt
Copy link
Author

p6rt commented Jun 13, 2012

From @moritz

< cognominal___> r​: say '' ~~ / $d /;
<+p6eval> rakudo 684fd2​:
OUTPUT«=␀␀␀=␀␀␀=␀␀␀S␀␀␀O␀␀␀R␀␀␀R␀␀␀Y␀␀␀!␀␀␀=␀␀␀=␀␀␀=␀␀␀␤␀␀␀V␀␀␀a␀␀␀r␀␀␀i␀␀␀a␀␀␀b␀␀␀l␀␀␀e␀␀␀
␀␀␀$␀␀␀d␀␀␀ ␀␀␀i␀␀␀s␀␀␀ ␀␀␀n␀␀␀o␀␀␀t␀␀␀
  ␀␀␀d␀␀␀e␀␀␀c␀␀␀l␀␀␀a␀␀␀r␀␀␀e␀␀␀d␀␀␀␤
< moritz> eeks
< cognominal___> weird. It happened to me when I type $d instead $&lt;d>
in a regex.
< cognominal___> at least, here it says sorry :)
< moritz> well, here it adds lots of null bytes between the characters
ofthe 'SORRY'
< moritz> .u ␀
< phenny> U+2400 SYMBOL FOR NULL (␀)

@p6rt
Copy link
Author

p6rt commented Nov 5, 2012

From @jnthn

On Wed Jun 13 04​:51​:53 2012, moritz wrote​:

< cognominal___> r​: say '' ~~ / $d /;
<+p6eval> rakudo 684fd2​:

OUTPUT«=␀␀␀=␀␀␀=␀␀␀S␀␀␀O␀␀␀R␀␀␀R␀␀␀Y␀␀␀!␀␀␀=␀␀␀=␀␀␀=␀␀␀␤␀␀␀V␀␀␀a␀␀␀r␀␀␀i␀␀␀a␀␀␀b␀␀␀l␀␀␀e␀␀␀

␀␀␀$␀␀␀d␀␀␀ ␀␀␀i␀␀␀s␀␀␀ ␀␀␀n␀␀␀o␀␀␀t␀␀␀
␀␀␀d␀␀␀e␀␀␀c␀␀␀l␀␀␀a␀␀␀r␀␀␀e␀␀␀d␀␀␀␤
< moritz> eeks
< cognominal___> weird. It happened to me when I type $d instead
$<d>
in a regex.
< cognominal___> at least, here it says sorry :)
< moritz> well, here it adds lots of null bytes between the characters
ofthe 'SORRY'
< moritz> .u ␀
< phenny> U+2400 SYMBOL FOR NULL (␀)

Fixed incidentally while doing the Q branch; LANG now passes orig/target
on correctly.

23​:59 < jnthn> r​: say '' ~~ / $d /;
23​:59 <+p6eval> rakudo 0e4135​: OUTPUT«===SORRY!===␤Variable $d is not
  declared␤at /tmp/l4Zsow9e9k​:1␤»

Not sure we can/should sanely spectest this one, so will just mark it
resolved.

/jnthn

@p6rt
Copy link
Author

p6rt commented Nov 5, 2012

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 5, 2012

@jnthn - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Nov 5, 2012
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