V get (Object k) returns Some instead of V
CheatEx opened this issue · 2 comments
CheatEx commented
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 commented
I'll have a look. It could be that something was "lost in translation" when I converted it from Scala
romix commented
I think it should be fixed now. Please let me know if solves your problems.