The GitHub Actions job "CI" on tvm-ffi.git/main has succeeded.
Run started by GitHub user tqchen (triggered by tqchen).

Head commit for run:
368af824845424ea439b9f3d68bf4a710afb38b1 / Junru Shao <[email protected]>
fix: `self` overlooked in schema of member functions (#91)

When generation function schema for member functions of a certain class,
the existing logics overlooked `this` as the first argument, which, as a
result, generates inproper number of arguments.

More specifically, in the snippet below,

```C++
class MyCls {
  void MyFunc(int a);
};

refl::GlobalDef()
    .def_method("MyCls_MyFunc", &MyCls::MyFunc);
```

the global method `MyCls_MyFunc` is supposed to have signature `(MyCls,
int) -> None`, but the implementation on mainline gives `(int) -> None`.

This PR fixes this issue.

Report URL: https://github.com/apache/tvm-ffi/actions/runs/18311627797

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to