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

V get (Object k) returns Some instead of V #4

Closed
CheatEx opened this issue Nov 5, 2013 · 2 comments
Closed

V get (Object k) returns Some instead of V #4

CheatEx opened this issue Nov 5, 2013 · 2 comments

Comments

@CheatEx
Copy link

CheatEx commented Nov 5, 2013

We run into situations when subj. returns Some instance instead of V.

I'm now working on isolated test case, but quick look suggest that there could be an obvious bug. Method 'get' performs lookuphc and return result just casting it to V. In the same time method 'lookup' performs the same call and checks whether the value is an Option or not.

May be get should work the same as lookup?

@romix
Copy link
Owner

romix commented Nov 7, 2013

I'll have a look. It could be that something was "lost in translation" when I converted it from Scala

@romix
Copy link
Owner

romix commented Nov 7, 2013

I think it should be fixed now. Please let me know if solves your problems.

@romix romix closed this as completed Sep 18, 2014
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

2 participants