TeamREPENTOGON / TeamREPENTOGON/REPENTOGON

Handle derived classes in FFI binders

Open
#316 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

LuaJIT
Dominant language
C++
Stars
345
Forks
51
Avg merge
11h 2m
Merged PRs (30d)
4

Description

Of the classes in the base API, Entity and GridEntity are used as a base class for others. Our current implementation doesn't seem to cleanly support this yet, causing issues with casting Entity to a derivative class and allowing said classes to fall back to Entity functions and keys.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the FFI binder implementation and the Entity and GridEntity definitions, then trace how casts, inherited functions, and keys are handled. Reproduce the derived-class failures and add coverage for casting and fallback behavior; done means derived classes cleanly cast and expose inherited Entity behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.