Ticket #1419 (new bug) — at Initial Version
pbc_merge doesn't correctly merge
Reported by: | cotto | Owned by: | cotto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 2.0.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
I took a shot at switching compilers/pct/Rules.mak to generate separate pbcs and merge them into a single file using pbc_merge using the attached patch. Unfortunately this causes pct to fail several tests. A typical failure is below:
t/compilers/pct/past.t ............... 4/10 # Failed test 'set attributes for PAST;Op via method' # at t/compilers/pct/past.t line 39. # Exited with error code: 1 # Received: # Method 'language' not found for invocant of class # current instr.: 'parrot;PAST;Compiler;onload' pc 1330 (compilers/pct/src/PAST/Compiler.pir:52) # called from Sub 'parrot;PCT;onload' pc 0 (compilers/pct/PCT.pir:18) # ... call repeated 1 times # # Expected: # foo # "ast" => PMC 'PAST;Op' { # <name> => "foo" # [0] => PMC 'PAST;Op' { # <name> => "bar" # } # } #