Ticket #638 (closed bug: fixed)

Opened 13 years ago

Last modified 13 years ago

[PMC] inheritance of abstract PMC is broken

Reported by: fperrad Owned by: bacek
Priority: normal Milestone:
Component: core Version: 1.1.0
Severity: medium Keywords:
Cc: cotto Language:
Patch status: Platform:

Description

Since r38471 (merge tt528_vtinit), the build of Lua PMC is broken.

All Lua PMC inherits of LuaAny, an abstract PMC.

For example, in luaboolean.c :

PARROT_EXPORT
VTABLE* Parrot_LuaBoolean_ro_get_vtable(PARROT_INTERP) {
    VTABLE *vt;
    vt = Parrot_default_get_vtable(interp);
    Parrot_LuaAny_update_vtable(vt);
    Parrot_LuaAny_ro_update_vtable(vt);  # the code of this function is not generated
    Parrot_LuaBoolean_update_vtable(vt);
    Parrot_LuaBoolean_ro_update_vtable(vt);

    return vt;
}

Change History

Changed 13 years ago by bacek

  • status changed from new to assigned
  • owner set to bacek

My fault. I've got fix on local repo, but there is few other changes which are not ready to commit.

Changed 13 years ago by fperrad

what is the good fix :

  • remove the call
  • or add the missing generated code

Changed 13 years ago by bacek

  • status changed from assigned to closed
  • resolution set to fixed

"Add missing call". I did it in tt631_part3 which merged into trunk in r38603.

Note: See TracTickets for help on using tickets.