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

Fix RedisHash!int.opIndexOpAssign #2013

Merged
merged 2 commits into from
Dec 21, 2017

Conversation

Geoffrey-A
Copy link
Contributor

Hello,

A fix as per title.

Thank you very much for dub and vibe.d!

Best regards,
Geoffrey

The snippet `m_db.getAsHash!int("bank_accounts")["bob"] += 100;` failed with the following error:
../../.dub/packages/vibe-d-0.8.2/vibe-d/redis/vibe/db/redis/types.d(392,84): Error: none of the overloads of 'hincr' are callable using argument types (string, string, string), candidates are:
../../.dub/packages/vibe-d-0.8.2/vibe-d/redis/vibe/db/redis/redis.d(318,7):        vibe.db.redis.redis.RedisDatabase.hincr(string key, string field, long value = 1L)
../../.dub/packages/vibe-d-0.8.2/vibe-d/redis/vibe/db/redis/redis.d(320,7):        vibe.db.redis.redis.RedisDatabase.hincr(string key, string field, double value)
@s-ludwig
Copy link
Member

Thanks!

@s-ludwig s-ludwig merged commit 1909cf3 into vibe-d:master Dec 21, 2017
@Geoffrey-A Geoffrey-A deleted the fix/RedisHash!int.opIndexOpAssign branch December 21, 2017 20:22
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

Successfully merging this pull request may close these issues.

2 participants