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

tables inside =begin/=end comment pairs cause exception #6634

Open
p6rt opened this issue Oct 30, 2017 · 8 comments
Open

tables inside =begin/=end comment pairs cause exception #6634

p6rt opened this issue Oct 30, 2017 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Oct 30, 2017

Migrated from rt.perl.org#132377 (status was 'open')

Searchable as RT132377$

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

The following pod causes an exception

=begin comment
=begin table
a | b | c
=end table
=end comment

If the =begin/=end table lines are indented by one space the exception is
not thrown

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @lizmat

A —ll-exception stacktrace would be useful in such a case :-)

On 30 Oct 2017, at 15​:24, Tom Browder (via RT) <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Tom Browder
# Please include the string​: [perl #​132377]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=132377 >

The following pod causes an exception

=begin comment
=begin table
a | b | c
=end table
=end comment

If the =begin/=end table lines are indented by one space the exception is
not thrown

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

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

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

On Mon, Oct 30, 2017 at 09​:53 Elizabeth Mattijsen <liz@​dijkmat.nl> wrote​:

A —ll-exception stacktrace would be useful in such a case :-)

WILCO!

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

On Mon, 30 Oct 2017 08​:21​:04 -0700, tbrowder wrote​:

On Mon, Oct 30, 2017 at 09​:53 Elizabeth Mattijsen <liz@​dijkmat.nl> wrote​:

A —ll-exception stacktrace would be useful in such a case :-)

WILCO!

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

prob.log

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

prob.p6

@p6rt
Copy link
Author

p6rt commented Oct 30, 2017

From @tbrowder

On Mon, 30 Oct 2017 09​:16​:23 -0700, tbrowder wrote​:

On Mon, 30 Oct 2017 08​:21​:04 -0700, tbrowder wrote​:

On Mon, Oct 30, 2017 at 09​:53 Elizabeth Mattijsen <liz@​dijkmat.nl> wrote​:

A —ll-exception stacktrace would be useful in such a case :-)

WILCO!

$ cat prob.p6
use v6;

# an empty table
=begin comment
=begin table
a b c
=end table
=end comment

to duplicate​:
$ perl6 --ll-exception --doc=Text prob.p6

version​:
$ perl6 -v
This is Rakudo version 2017.09-201-gfa8fe84 built on MoarVM version 2017.09.1-553-ga4fef0b
implementing Perl 6.c.

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