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 returns the wrong thing from a <> quote with only whitespace in it #1622

Closed
p6rt opened this issue Mar 23, 2010 · 6 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Mar 23, 2010

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

Searchable as RT73772$

@p6rt
Copy link
Author

p6rt commented Mar 23, 2010

From @masak

<TimToady> rakudo​: say < >.elems
<p6eval> rakudo db0f85​: OUTPUT«Method 'elems' not found for invocant
of class 'Perl6Str' [...]
<TimToady> hmm
<moritz_> rakudo​: say < >.perl
<p6eval> rakudo db0f85​: OUTPUT«""␤»
* masak submits rakudobug
<TimToady> looks to me like rakudo is making an unwarranted assumption there

...the unwarranted assumption being, IIUC, that the thing returned
should be Nil, not the empty string.

@p6rt
Copy link
Author

p6rt commented Apr 20, 2010

From @jnthn

On Tue Mar 23 09​:57​:24 2010, masak wrote​:

<TimToady> rakudo​: say < >.elems
<p6eval> rakudo db0f85​: OUTPUT«Method 'elems' not found for invocant
of class 'Perl6Str' [...]
<TimToady> hmm
<moritz_> rakudo​: say < >.perl
<p6eval> rakudo db0f85​: OUTPUT«""␤»
* masak submits rakudobug
<TimToady> looks to me like rakudo is making an unwarranted assumption
there

...the unwarranted assumption being, IIUC, that the thing returned
should be Nil, not the empty string.

@p6rt
Copy link
Author

p6rt commented Apr 20, 2010

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

@p6rt
Copy link
Author

p6rt commented Jun 6, 2010

From @pmichaud

Now fixed in 841262f. Assigning to moritz++ for test verification to
close ticket.

Pm

@p6rt
Copy link
Author

p6rt commented Jun 8, 2010

From @moritz

Now tested in S02-literals/quoting-whitespace.t

@p6rt
Copy link
Author

p6rt commented Jun 8, 2010

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

@p6rt p6rt closed this as completed Jun 8, 2010
@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