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

Stubby exception generators should take parameters in Rakudo #293

Closed
p6rt opened this issue Sep 3, 2008 · 6 comments
Closed

Stubby exception generators should take parameters in Rakudo #293

p6rt opened this issue Sep 3, 2008 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Sep 3, 2008

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

Searchable as RT58558$

@p6rt
Copy link
Author

p6rt commented Sep 3, 2008

From @masak

Implement the '...', '???' and '!!!' operators, as described in S03​:1691.

@p6rt
Copy link
Author

p6rt commented Sep 11, 2008

From @jnthn

On Wed Sep 03 11​:10​:21 2008, masak wrote​:

Implement the '...', '???' and '!!!' operators, as described in S03​:1691.

I've just done in r30980 the argumentless case of '...'​:

sub foo { ... }
my $x = foo(); say $x;
Attempt to execute stub code (...).

The argument version needs a bit more work as it needs the <args> rule
from STD.pm, and we can't do !!! and ??? in Rakudo yet because it ends
up getting parsed as three prefix​:! or prefix​:? by the operator
precedence parser. That probably waits on a hack (same one needed for ->
to work on RHS) or LTM, if I'm understanding what's going on correctly.

So, ticket should stay open while we do the rest, but this is the first
piece of the puzzle, and hopefully useful.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Sep 11, 2008

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

@p6rt
Copy link
Author

p6rt commented Mar 21, 2010

From @ShimmerFairy

!!! ??? and ... are all implemented in Rakudo, but !!! and ??? don't
seem to accept arguments.

Still open, but closer to resolved.
--
Don't Panic!

@p6rt
Copy link
Author

p6rt commented Mar 30, 2012

From @moritz

... and works now. Tested in S32-exceptions/misc.t

@p6rt
Copy link
Author

p6rt commented Mar 30, 2012

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

@p6rt p6rt closed this as completed Mar 30, 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