Ticket #1652 (reopened bug)
Line numbers in a particular IMCC stack trace are all wrong
Reported by: | moritz | Owned by: | plobsing |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | imcc | Version: | 2.4.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
To reproduce:
please check out commit 93b60203b806a0303f8f7981469102ea90ce5b54 of Rakudo, configure rakudo with r46819 of parrot, and then run 'make'
$ make ... /home/moritz/rakudo/parrot_install/bin/parrot -o src/gen/perl6.pbc src/Perl6/Compiler.pir error:imcc:syntax error, unexpected DOT, expecting $end ('.') in file 'src/builtins/EnumMap.pir' line 92 included from 'src/gen/builtins.pir' line 92 included from 'src/Perl6/Compiler.pir' line 1 error:imcc:syntax error ... somewhere in file 'src/builtins/EnumMap.pir' line 92 included from 'src/gen/builtins.pir' line 92 included from 'src/Perl6/Compiler.pir' line 1 make: *** [src/gen/perl6.pbc] Error 1
Files EnumMap.pir and bulitins.pir are 36 and 59 lines long, respectively, and line 1 in src/Perl6/Compiler.pir is a comment. So all these line numbers in the backtrace have no obvious connection to reality
Change History
Note: See
TracTickets for help on using
tickets.