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

Strange error when doing 0..WHAT in Rakudo #1500

Closed
p6rt opened this issue Feb 15, 2010 · 5 comments
Closed

Strange error when doing 0..WHAT in Rakudo #1500

p6rt opened this issue Feb 15, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Feb 15, 2010

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

Searchable as RT72822$

@p6rt
Copy link
Author

p6rt commented Feb 15, 2010

From @masak

<diakopter> rakudo​: say 0..WHAT
<p6eval> rakudo 70667a​: OUTPUT«Not enough positional parameters
passed; got 0 but expected 1␤current instr.​: 'WHAT' pc 216565
(src/gen/core.pir​:0)␤»
<diakopter> masak​: see the last ^
* masak submits rakudobug for 0..WHAT
<masak> diakopter​: what's happening there? how does it parse?
<diakopter> masak​: "so what? who cares?" <voice of SNL guy imitating
lady on The View>
<masak> :)
<masak> diakopter​: this goes in the report, you know :P
<diakopter> hrm. infractions**=infractions
<masak> :)

@p6rt
Copy link
Author

p6rt commented Jul 28, 2010

@coke - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Sep 13, 2011

From @bbkr

NOM​: same error

bbkr​:nom bbkr$ ./perl6 -e 'say 0..WHAT'
Not enough positional parameters passed; got 0 but expected 1
  in sub WHAT at src/gen/CORE.setting​:6964

@p6rt
Copy link
Author

p6rt commented May 17, 2012

From @masak

This "works" now.

<masak> rakudo​: say 0..WHAT
<p6eval> rakudo d43876​: OUTPUT«===SORRY!===␤CHECK FAILED​:␤Calling 'WHAT'
will never work with no arguments (line 1)␤ Expected​: :(\$x)␤»
* masak closes https://rt-archive.perl.org/perl6/Ticket/Display.html?id=72822

@p6rt
Copy link
Author

p6rt commented May 17, 2012

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

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