You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose we have a function with multiple outputs: func (z *Int) AddOverflow(x, y *Int) (*Int, bool), bind expects second argument to be an error and outputs the following gopy: second result value must be of type error.
The second issue I'm having is that after compiling the project, public methods of type Int aren't exposed to Python, e.g. the following code won't run:
Hi, I'm trying to build this project, https://github.com/holiman/uint256, but I've run into multiple issues:
Suppose we have a function with multiple outputs:
func (z *Int) AddOverflow(x, y *Int) (*Int, bool)
, bind expects second argument to be anerror
and outputs the followinggopy: second result value must be of type error
.To reproduce, minimized testcase:
The second issue I'm having is that after compiling the project, public methods of type
Int
aren't exposed to Python, e.g. the following code won't run:I suspect this has something to do with
Int
being represented as an array[4]uint64
.Versions I'm using: Go 1.21.3 & Python 3.11.5
It seemed related to #315, so I've run this in docker with Go 1.19.5 & Python3.10.12 but the issue persisted.
Thank you.
The text was updated successfully, but these errors were encountered: