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

:a<> should fail with a meaningful message like in STD #2045

Closed
p6rt opened this issue Aug 9, 2010 · 5 comments
Closed

:a<> should fail with a meaningful message like in STD #2045

p6rt opened this issue Aug 9, 2010 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Aug 9, 2010

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

Searchable as RT77118$

@p6rt
Copy link
Author

p6rt commented Aug 9, 2010

From @cognominal

This is probably related to know parsing bugs.

[17​:45​:26] <cognominal> std​: say :a<>
[17​:45​:29] <p6eval> std 31912​: OUTPUT«Potential difficulties​:␤ Pair
with <> really means a Nil value, not null string; use :a('') to
represent the null string,␤ or :a() to represent Nil more accurately
at /tmp/cgEjRhSp4V line 1​:␤------> �[32msay
:a<>�[33m⏏�[31m<EOL>�[0m␤ok 00​:01 112m␤»
[17​:45​:49] <cognominal> rakudo​: say :a<>
[17​:45​:54] <p6eval> rakudo c1e19a​: OUTPUT«===SORRY!===␤Unsupported
use of <>; in Perl 6 please use lines() or () at line 22, near "<>"␤»

--
cognominal stef

@p6rt
Copy link
Author

p6rt commented Nov 20, 2012

From @FROGGS

Nowadays​:

<FROGGS> r​: :a<>
<p6eval> rakudo bf472b​: OUTPUT«===SORRY!===␤Unsupported use of <>; in
Perl 6 please use lines() to read input, ('') to represent a null string
or () to represent an empty list␤at /tmp/itxr5XrqUQ​:1␤»

@p6rt
Copy link
Author

p6rt commented Nov 20, 2012

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

@p6rt
Copy link
Author

p6rt commented Nov 25, 2012

From @FROGGS

Test​:
Raku/roast@49868a5

@p6rt
Copy link
Author

p6rt commented Nov 25, 2012

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

@p6rt p6rt closed this as completed Nov 25, 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