# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #55520]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=55520 >


rakudo r28192

> class A { has $.a, $.b };
error:imcc:syntax error, unexpected '\n', expecting '('
        in file 'EVAL_11' line 37
[oops; continuation 0xb644d2e0 of type 21 is trying to jump from runloop
506 to
runloop 51]
Could not find non-existent sub self
> [I pressed Ctrl+D here] src/inter_call.c:301: failed assertion
'PObj_is_PMC_TEST(sig_pmc)'
Backtrace - Obtained 19 stack frames (max trace depth is 32).
  (unknown)
    Parrot_confess
      Parrot_init_arg_op
        Parrot_init_ret_nci
          (unknown)
            (unknown)
              Parrot_NCI_invoke
                Parrot_invokecc_p
                  (unknown)
                    (unknown)
                      (unknown)
                        (unknown)
                          Parrot_runops_fromc_args
                            Parrot_runcode
                              (unknown)
                                imcc_run
                                  (unknown)
                                    __libc_start_main
                                      (unknown)
./rakudo: line 2: 18963 Aborted                 ../../parrot perl6.pbc "$@

And the non-interactive version says:
$ cat test.t

class A { has ($.a, $.b) };
$ ../../parrot perl6.pbc test.t
error:imcc:syntax error, unexpected '\n', expecting '('
        in file 'EVAL_11' line 37
error:imcc:syntax error, unexpected '\n', expecting '('
        in file 'EVAL_11' line 39
Could not find non-existent sub self
current instr.: 'parrot;A;_block22' pc 58 (EVAL_11:37)
called from Sub 'parrot;PCT::HLLCompiler;evalpmc' pc 721
(src/PCT/HLLCompiler.pir:425)
called from Sub 'parrot;PCT::HLLCompiler;compile' pc 438
(src/PCT/HLLCompiler.pir:291)
called from Sub 'parrot;PCT::HLLCompiler;eval' pc 753
(src/PCT/HLLCompiler.pir:450)
called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1065
(src/PCT/HLLCompiler.pir:587)
called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1244
(src/PCT/HLLCompiler.pir:676)
called from Sub 'parrot;Perl6::Compiler;main' pc 11048 (perl6.pir:186)

This is Debian GNU/Linux 4.0 "Etch" on a 32 bit i386 CPU

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/

Reply via email to