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

./perl6 -e '1' gives error and segfaults #170

Closed
p6rt opened this issue Jul 16, 2008 · 4 comments
Closed

./perl6 -e '1' gives error and segfaults #170

p6rt opened this issue Jul 16, 2008 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 16, 2008

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

Searchable as RT57014$

@p6rt
Copy link
Author

p6rt commented Jul 16, 2008

From @masak

Both

$ ./perl6 -e '1'

and

$ ../../parrot perl6.pbc -e '1'

give the error output

Lexical '$expr' not found
current instr.​: 'parrot;Perl6;Grammar;Actions;statement' pc 137242
(src/gen_actions.pir​:14471)
called from Sub 'parrot;Perl6​::Grammar;statement' pc 25174
(src/gen_grammar.pir​:3568)
called from Sub 'parrot;Perl6​::Grammar;statementlist' pc 21882
(src/gen_grammar.pir​:2414)
called from Sub 'parrot;Perl6​::Grammar;statement_block' pc 19849
(src/gen_grammar.pir​:1650)
called from Sub 'parrot;Perl6​::Grammar;TOP' pc 16121 (src/gen_grammar.pir​:224)
called from Sub 'parrot;PCT​::HLLCompiler;parse' pc 585
(src/PCT/HLLCompiler.pir​:371)
called from Sub 'parrot;PCT​::HLLCompiler;compile' pc 438
(src/PCT/HLLCompiler.pir​:303)
called from Sub 'parrot;PCT​::HLLCompiler;eval' pc 776
(src/PCT/HLLCompiler.pir​:473)
called from Sub 'parrot;PCT​::HLLCompiler;command_line' pc 1305
(src/PCT/HLLCompiler.pir​:708)
called from Sub 'parrot;Perl6​::Compiler;main' pc 14310 (perl6.pir​:172)

@p6rt
Copy link
Author

p6rt commented Jul 17, 2008

From @masak

The error first appears in -r29263, the revision that introduces enums.pir.

$ svn log -r29263 -v


r29263 | jonathan | 2008-07-11 00​:50​:39 +0200 (Fri, 11 Jul 2008) | 1 line
Changed paths​:
  M /trunk/MANIFEST
  M /trunk/languages/perl6/config/makefiles/root.in
  A /trunk/languages/perl6/src/builtins/enums.pir
  M /trunk/languages/perl6/src/classes/Bool.pir

[rakudo] Switch True and False over to being real values from the (now
existing) bool enumeration, rather than instances of the Bool class.


@p6rt
Copy link
Author

p6rt commented Jul 18, 2008

From @masak

Um, you can close this bug. Turns out I had a dirty working copy after
finding a patch for #​56638.

Sorry for crying wolf this time.

@p6rt
Copy link
Author

p6rt commented Oct 2, 2008

@moritz - Status changed from 'new' to 'resolved'

@p6rt p6rt closed this as completed Oct 2, 2008
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