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

#=== lines freak out rakudo's parser #1410

Closed
p6rt opened this issue Nov 23, 2009 · 4 comments
Closed

#=== lines freak out rakudo's parser #1410

p6rt opened this issue Nov 23, 2009 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Nov 23, 2009

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

Searchable as RT70752$

@p6rt
Copy link
Author

p6rt commented Nov 23, 2009

From @moritz

16​:29 <@​moritz_> rakudo​: #=======␤#=======␤use v6;
16​:30 <+p6eval> rakudo 7347ec​: Could not find non-existent sub v6␤in
Main (file src/gen_setting.pm, line 324)␤
16​:31 <@​moritz_> std​: #=======␤#=======␤use v6;
16​:31 <+p6eval> std 29176​: ok 00​:01 104m␤

p6eval translates ␤ to a real newline, so the actual program that fails is

#=======
#=======
use v6;

reported by wanradt++ on #parrot

Cheers,
Moritz

@p6rt
Copy link
Author

p6rt commented Apr 23, 2010

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

@p6rt
Copy link
Author

p6rt commented Apr 23, 2010

From @bbkr

Moscow build​:

perl6 -e 'use Test; eval_lives_ok "#=======\n#=======\nuse v6;", "pragma
use after single line comments";'
ok 1 - pragma use after single line comments

test in r30457 t/spec/S02-whitespace_and_comments/comments.t

@p6rt
Copy link
Author

p6rt commented Apr 23, 2010

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

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