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

Run time “SORRY!” when the range starts with whatever star (*...‘WAT’) #5321

Open
p6rt opened this issue May 16, 2016 · 5 comments
Open
Labels

Comments

@p6rt
Copy link

@p6rt p6rt commented May 16, 2016

Migrated from rt.perl.org#128161 (status was 'open')

Searchable as RT128161$

@p6rt
Copy link
Author

@p6rt p6rt commented May 16, 2016

From @AlexDaniel

Code​:
say �Hello�;
*...�WAT�

Result​:
Hello
===SORRY!===
Method 'succ' not found for invocant of class 'Whatever'

Well, I've always thought that ===SORRY!=== is compile time only.

@p6rt
Copy link
Author

@p6rt p6rt commented Jul 17, 2016

From @zoffixznet

Another similar case​:

zoffix@​VirtualBox​:~/CPANPRC/rakudo$ ./perl6 -e 'say 0, * ... "what"'
===SORRY!===
Method 'pred' not found for invocant of class 'Whatever'

@p6rt
Copy link
Author

@p6rt p6rt commented Jul 17, 2016

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

@p6rt
Copy link
Author

@p6rt p6rt commented Oct 8, 2017

From @AlexDaniel

Code​:
say ‘Hello’; say *...‘WAT’

Result​:
Hello
No such method 'succ' for invocant of type 'Whatever'. Did you mean 'sum'?
  in block <unit> at -e line 1

Code​:
say 0, * ... "what"

Result​:
No such method 'pred' for invocant of type 'Whatever'. Did you mean any of these?
    grep
    tree

  in block <unit> at -e line 1

I guess these errors make sense? Not quite sure why it calls .pred though.

On 2016-07-16 20​:26​:01, cpan@​zoffix.com wrote​:

Another similar case​:

zoffix@​VirtualBox​:~/CPANPRC/rakudo$ ./perl6 -e 'say 0, * ... "what"'
===SORRY!===
Method 'pred' not found for invocant of class 'Whatever'

@p6rt
Copy link
Author

@p6rt p6rt commented Oct 8, 2017

From @AlexDaniel

SORRY disappeared after rakudo/rakudo@25e9fd7

On 2017-10-08 01​:21​:27, alex.jakimenko@​gmail.com wrote​:

Code​:
say ‘Hello’; say *...‘WAT’

Result​:
Hello
No such method 'succ' for invocant of type 'Whatever'. Did you mean 'sum'?
in block <unit> at -e line 1

Code​:
say 0, * ... "what"

Result​:
No such method 'pred' for invocant of type 'Whatever'. Did you mean any of
these?
grep
tree

in block <unit> at -e line 1

I guess these errors make sense? Not quite sure why it calls .pred though.

On 2016-07-16 20​:26​:01, cpan@​zoffix.com wrote​:

Another similar case​:

zoffix@​VirtualBox​:~/CPANPRC/rakudo$ ./perl6 -e 'say 0, * ... "what"'
===SORRY!===
Method 'pred' not found for invocant of class 'Whatever'

@p6rt p6rt added the LTA 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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant