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

exits on some syntactic errors #5637

Closed
p6rt opened this issue Sep 2, 2016 · 8 comments
Closed

exits on some syntactic errors #5637

p6rt opened this issue Sep 2, 2016 · 8 comments

Comments

@p6rt
Copy link

p6rt commented Sep 2, 2016

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

Searchable as RT129179$

@p6rt
Copy link
Author

p6rt commented Sep 2, 2016

From public@leidisch.net

Hello!

My REPL crashes on some syntactic errors. This didn't happen when I
was using the Ubuntu package, but a fresh build (using 'rakudobrew
build moar'). When I asked on #perl6, I was told that this might be a
recent regression, and that I should file a bug report, so here we go​:

$ uname -a
Linux asus 4.4.0-36-generic #​55-Ubuntu SMP Thu Aug 11 18​:01​:55 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
$ perl6 -v
This is Rakudo version 2016.08.1-71-g685cc5a built on MoarVM version 2016.08
implementing Perl 6.c.
$ perl6
You may want to `panda install Readline` or `panda install Linenoise`
or use rlwrap for a line editor

To exit type 'exit' or '^D'

sub }
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
  expecting any of​:
  new name to be defined

At this point, the REPL exits. This also hapens with similiar
syntactic erros, this is just an easily reproducible example.

Regards,

Daniel

@p6rt
Copy link
Author

p6rt commented Sep 3, 2016

From @hoelzro

It seems that this was introduced by this commit​: 85cbb6ddbfb7b32788abff2ed3288c1eae2abd03

On 2016-09-02 15​:45​:15, public@​leidisch.net wrote​:

Hello!

My REPL crashes on some syntactic errors. This didn't happen when I
was using the Ubuntu package, but a fresh build (using 'rakudobrew
build moar'). When I asked on #perl6, I was told that this might be a
recent regression, and that I should file a bug report, so here we go​:

$ uname -a
Linux asus 4.4.0-36-generic #​55-Ubuntu SMP Thu Aug 11 18​:01​:55 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
$ perl6 -v
This is Rakudo version 2016.08.1-71-g685cc5a built on MoarVM version 2016.08
implementing Perl 6.c.
$ perl6
You may want to `panda install Readline` or `panda install Linenoise`
or use rlwrap for a line editor

To exit type 'exit' or '^D'

sub }
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
expecting any of​:
new name to be defined

At this point, the REPL exits. This also hapens with similiar
syntactic erros, this is just an easily reproducible example.

Regards,

Daniel

@p6rt
Copy link
Author

p6rt commented Sep 3, 2016

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

@p6rt
Copy link
Author

p6rt commented Sep 3, 2016

From @awwaiid

Resolved in rakudo/rakudo#862, thanks for the report!

@p6rt
Copy link
Author

p6rt commented Sep 3, 2016

From @zoffixznet

Merged in rakudo/rakudo@aceb4af

The PR included tests with it.

@p6rt
Copy link
Author

p6rt commented Sep 3, 2016

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

@p6rt p6rt closed this as completed Sep 3, 2016
@p6rt
Copy link
Author

p6rt commented Sep 5, 2016

From public@leidisch.net

Thanks for the quick fix, but I think there's still something wrong​:

sub }
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
  expecting any of​:
  new name to be defined
1+1
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
  expecting any of​:
  new name to be defined

Regards,

Daniel

2016-09-04 0​:28 GMT+02​:00 Zoffix Znet via RT <perl6-bugs-followup@​perl.org>​:

According to our records, your request regarding
"[BUG] [REPL] exits on some syntactic errors"
has been resolved.

If you have any further questions or concerns, please respond to this message.

For other topics, please create a new ticket.

<URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=129179 >

@p6rt
Copy link
Author

p6rt commented Sep 5, 2016

From @awwaiid

Zoffix applied another fix that should fix this.

On Sun Sep 04 21​:08​:03 2016, public@​leidisch.net wrote​:

Thanks for the quick fix, but I think there's still something wrong​:

sub }
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
expecting any of​:
new name to be defined
1+1
===SORRY!=== Error while compiling​:
Missing block
------> sub ⏏}
expecting any of​:
new name to be defined

Regards,

Daniel

2016-09-04 0​:28 GMT+02​:00 Zoffix Znet via RT <perl6-bugs-
followup@​perl.org>​:

According to our records, your request regarding
"[BUG] [REPL] exits on some syntactic errors"
has been resolved.

If you have any further questions or concerns, please respond to this
message.

For other topics, please create a new ticket.

<URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=129179 >

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