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

USAGE lacks comment when where clause is present #4266

Closed
p6rt opened this issue May 26, 2015 · 5 comments
Closed

USAGE lacks comment when where clause is present #4266

p6rt opened this issue May 26, 2015 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented May 26, 2015

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

Searchable as RT125253$

@p6rt
Copy link
Author

p6rt commented May 26, 2015

From @FROGGS

sub MAIN($a) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/jF9IVKBBk9 <a> -- flubber␤»

sub MAIN($a where True) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/1Z80c6DhRA <a> ␤»

I expect that both mention 'flubber'.

@p6rt
Copy link
Author

p6rt commented Jun 21, 2015

From @hoelzro

On 2015-05-26 11​:05​:09, FROGGS.de wrote​:

sub MAIN($a) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/jF9IVKBBk9 <a> -- flubber␤»

sub MAIN($a where True) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/1Z80c6DhRA <a> ␤»

I expect that both mention 'flubber'.

It seems that WHY is not set for any routines that have a where condition on one of their parameters; I'll dig into why later.

@p6rt
Copy link
Author

p6rt commented Jun 21, 2015

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

@p6rt
Copy link
Author

p6rt commented Jun 23, 2015

From @hoelzro

On 2015-06-21 10​:56​:17, rob@​hoelz.ro wrote​:

On 2015-05-26 11​:05​:09, FROGGS.de wrote​:

sub MAIN($a) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/jF9IVKBBk9 <a> -- flubber␤»

sub MAIN($a where True) { ... } #= flubber
rakudo-moar c2a57e​: OUTPUT«Usage​:␤ /tmp/1Z80c6DhRA <a> ␤»

I expect that both mention 'flubber'.

It seems that WHY is not set for any routines that have a where
condition on one of their parameters; I'll dig into why later.

Fixed in 7fbd54a.

@p6rt
Copy link
Author

p6rt commented Jun 23, 2015

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

@p6rt p6rt closed this as completed Jun 23, 2015
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant