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

unspace after unspace causes error message which (erroneously) expects unspace in Rakudo #3098

Closed
p6rt opened this issue Apr 3, 2013 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Apr 3, 2013

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

Searchable as RT117465$

@p6rt
Copy link
Author

p6rt commented Apr 3, 2013

From @masak

<lizmat> r​: say 100\ 000\ 000
<p6eval> ..rakudo ffe441​: OUTPUT«===SORRY!===␤Confused␤at
/tmp/YbI0EuDstU​:1␤------> say 100\ ⏏000\ 000␤expecting any
of​:␤unspace␤horizontal whitespace␤ postfix␤»
<lizmat> expecting any of​: unspace
<lizmat> but there is a an unspace there !
<lizmat> :-)
<masak> yeah, but after that :P
<masak> r​: "OH HAI"\ \ .say
<p6eval> rakudo ffe441​: OUTPUT«===SORRY!===␤Confused␤at
/tmp/GLc7SahIm9​:1␤------> "OH HAI"\ ⏏\ .say␤ expecting any
of​:␤unspace␤horizontal whitespace␤postfix␤»
<masak> *that*, however...
* masak submits rakuodbug

So, my complaint (and lizmat's) is that Rakudo says it expects unspace
in the error message, when unspace is what it (correctly) chokes on.

@p6rt
Copy link
Author

p6rt commented Feb 1, 2014

From @peschwa

Am Mi 03. Apr 2013, 14​:13​:36, masak schrieb​:

<lizmat> r​: say 100\ 000\ 000
<p6eval> ..rakudo ffe441​: OUTPUT«===SORRY!===␤Confused␤at
/tmp/YbI0EuDstU​:1␤------> say 100\ ⏏000\ 000␤expecting any
of​:␤unspace␤horizontal whitespace␤ postfix␤»
<lizmat> expecting any of​: unspace
<lizmat> but there is a an unspace there !
<lizmat> :-)
<masak> yeah, but after that :P
<masak> r​: "OH HAI"\ \ .say
<p6eval> rakudo ffe441​: OUTPUT«===SORRY!===␤Confused␤at
/tmp/GLc7SahIm9​:1␤------> "OH HAI"\ ⏏\ .say␤ expecting any
of​:␤unspace␤horizontal whitespace␤postfix␤»
<masak> *that*, however...
* masak submits rakuodbug

So, my complaint (and lizmat's) is that Rakudo says it expects unspace
in the error message, when unspace is what it (correctly) chokes on.

Fixed in rakudo PR #​250, added test to roast in commit 9801c79 as per the example above.

@p6rt
Copy link
Author

p6rt commented Feb 1, 2014

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

@p6rt
Copy link
Author

p6rt commented Oct 15, 2014

From @usev6

As the tests in S02-lexical-conventions/unspace.t run fine, I'm closing this ticket.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 15, 2014

From @usev6

As the tests in S02-lexical-conventions/unspace.t run fine, I'm closing this ticket.

@p6rt
Copy link
Author

p6rt commented Oct 15, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant