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

redis.size() overloading doesn't work #8

Open
drs-project opened this issue Aug 11, 2021 · 0 comments
Open

redis.size() overloading doesn't work #8

drs-project opened this issue Aug 11, 2021 · 0 comments

Comments

@drs-project
Copy link

First of all thanks a lot for sharing your nice redis lib for octave!

I just tried to compile it with octave 6.2.0.
When running the r = redis() command octave enters an infinite loop calling r.size().

Renaming the function size to size2 in redis.m and test_redis.m solves the problem and all tests pass.
So I think it is a problem with overloading the size function.
I couldn't find out from where size() is called continuously.
And I'm not sure if this problem is caused by go-redis or by octave, but I wanted to share my work-around in case someone is running into the same problem...

Have a good day!

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