Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression: Reference indexing operator T& operator[](U index) is typed as void operator[](U index) #6

Open
Wizzerinus opened this issue Dec 18, 2024 · 0 comments

Comments

@Wizzerinus
Copy link

Originally found by researching types-panda3d built against my version of panda3d, which bases off 1.11.0. The, for example, LVecBase4f has the following code:

  INLINE_LINMATH FLOATTYPE operator [](int i) const;
  INLINE_LINMATH FLOATTYPE &operator [](int i);

and this is what igate gives:

wrapper.return_type=IDBType(index=137), wrapper.parameters=IDBFunctionWrapper.ParameterList(wrapper_index=5046), wrapper.comment='/**\n *\n */'
IDBFunctionWrapper(index=5046) (self, i: int) -> None
wrapper.return_type=IDBType(index=1742), wrapper.parameters=IDBFunctionWrapper.ParameterList(wrapper_index=5047), wrapper.comment=''
IDBFunctionWrapper(index=5047) (self, i: int) -> float

regression from 1.10.x, as types-panda3d properly builds on that version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant