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 dies on ord('') #657

Closed
p6rt opened this issue Jan 26, 2009 · 7 comments
Closed

Rakudo dies on ord('') #657

p6rt opened this issue Jan 26, 2009 · 7 comments

Comments

@p6rt
Copy link

p6rt commented Jan 26, 2009

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

Searchable as RT62772$

@p6rt
Copy link
Author

p6rt commented Jan 26, 2009

From @masak

<masak> rakudo​: ord(""); say "Alive"
<p6eval> rakudo 36030​: OUTPUT«Cannot get character of empty string [...]
<masak> should Rakudo really die here?
* masak thinks not
<moritz_> I think it should fail()
<[particle]> return a Failure
<[particle]> see what perl 5 does
<masak> good. we agree.
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Feb 14, 2009

From @bacek

On Mon Jan 26 06​:45​:24 2009, masak wrote​:

<masak> rakudo​: ord(""); say "Alive"
<p6eval> rakudo 36030​: OUTPUT«Cannot get character of empty string [...]
<masak> should Rakudo really die here?
* masak thinks not
<moritz_> I think it should fail()
<[particle]> return a Failure
<[particle]> see what perl 5 does
<masak> good. we agree.
* masak submits rakudobug

Fix for this issue is there
http://github.com/bacek/rakudo/commit/206c219d5fc495d1b171552650a29e8f0901e2c8

(It doesn't work ATM because of "fail" implementation bug)

--
Bacek

@p6rt
Copy link
Author

p6rt commented Feb 14, 2009

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

@p6rt
Copy link
Author

p6rt commented Feb 14, 2009

From @bacek

On Fri Feb 13 19​:45​:18 2009, bacek wrote​:

Fix for this issue is there

http://github.com/bacek/rakudo/commit/206c219d5fc495d1b171552650a29e8f0901e2c8

(It doesn't work ATM because of "fail" implementation bug)

Ooops. Sorry, my bad. It should tailcall '!FAIL' instead of 'fail' there.

--
Bacek

@p6rt
Copy link
Author

p6rt commented Jul 17, 2009

From @kyleha

This is an automatically generated mail to inform you that tests are now available in b/t/spec/S29-conversions/ord_and_chr.t

@p6rt
Copy link
Author

p6rt commented Aug 19, 2009

From @jnthn

On Mon Jan 26 06​:45​:24 2009, masak wrote​:

<masak> rakudo​: ord(""); say "Alive"
<p6eval> rakudo 36030​: OUTPUT«Cannot get character of empty string [...]
<masak> should Rakudo really die here?
* masak thinks not
<moritz_> I think it should fail()
<[particle]> return a Failure
<[particle]> see what perl 5 does
<masak> good. we agree.
* masak submits rakudobug

This now as of git 352acd2 returns a Failure; unfudged test.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Aug 19, 2009

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

@p6rt p6rt closed this as completed Aug 19, 2009
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