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 not complaining about wrong order of parameters in subroutine signature #1869

Closed
p6rt opened this issue Jun 23, 2010 · 3 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 23, 2010

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

Searchable as RT76022$

@p6rt
Copy link
Author

p6rt commented Jun 23, 2010

From @tadzik

Rakudo does not complain about required parameters put after these
with default values in subroutine signatures. Example code​:

  sub foo ($x = 0, $arg)

Rakudo should die at compile time, but it doesn't complain at all.

@p6rt
Copy link
Author

p6rt commented Jan 24, 2011

From @Kodiologist

Fixed in 914bd1b; tests in S06-signature/optional.t (roast b896f12).

@p6rt
Copy link
Author

p6rt commented Jan 24, 2011

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

@p6rt p6rt closed this as completed Jan 24, 2011
@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