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

Helpful message is not helpful #3691

Closed
p6rt opened this issue Feb 19, 2015 · 4 comments
Closed

Helpful message is not helpful #3691

p6rt opened this issue Feb 19, 2015 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Feb 19, 2015

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

Searchable as RT123884$

@p6rt
Copy link
Author

p6rt commented Feb 19, 2015

From @Tux

$ perl6 -e'say $\;'
===SORRY!=== Error while compiling -e
Unsupported use of $\ variable; in Perl 6 please use the filehandle's .ors attribute
at -e​:1
------> say $\⏏;

$ perl6 -e'$*OUT.ors.perl.say'
No such method 'ors' for invocant of type 'IO​::Handle'
  in block <unit> at -e​:1

$ perl6 -e'$*OUT.^attributes.say'
Mu $!path Mu $!PIO int $!ins Mu $!chomp Mu $!nl int $!pipe

$ perl6 -e'$*OUT.nl.perl.say'
"\n"

$helpful-message ~~ s{ors}{nl};

--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/

@p6rt
Copy link
Author

p6rt commented Feb 23, 2015

From @Mouq

Fixed in Rakudo commit​:

commit 1146597d0f80dda33d837120bbc17c1a02ba457a
Author​: Elizabeth Mattijsen <liz@​dijkmat.nl>
Date​: Thu Feb 19 21​:35​:34 2015 +0100

  Fix for #​123884, [Tux]++

Test added to S32-exceptions/misc.t in Roast commit​:

commit 1777fbd8cf7e41770c863bfbc1fb41e3a4e7dec4
Author​: Mouq <alexmoquin@​gmail.com>
Date​: Mon Feb 23 00​:17​:48 2015 -0500

  Add test for RT #​123884

Closing as resolved :)

On Thu Feb 19 12​:20​:52 2015, hmbrand wrote​:

$ perl6 -e'say $\;'
===SORRY!=== Error while compiling -e
Unsupported use of $\ variable; in Perl 6 please use the filehandle's
.ors attribute
at -e​:1
------> say $\⏏;

$ perl6 -e'$*OUT.ors.perl.say'
No such method 'ors' for invocant of type 'IO​::Handle'
in block <unit> at -e​:1

$ perl6 -e'$*OUT.^attributes.say'
Mu $!path Mu $!PIO int $!ins Mu $!chomp Mu $!nl int $!pipe

$ perl6 -e'$*OUT.nl.perl.say'
"\n"

$helpful-message ~~ s{ors}{nl};

@p6rt
Copy link
Author

p6rt commented Feb 23, 2015

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

@p6rt
Copy link
Author

p6rt commented Feb 23, 2015

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

@p6rt p6rt closed this as completed Feb 23, 2015
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