-
Notifications
You must be signed in to change notification settings - Fork 59
Unable to use value classes for answers
in idiomatic API
#168
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
That's an interesting one (the first one), I have an idea on what the problem is but will probably take a couple of days to be fixed. |
@bbonanno : thanks for the answer! Regarding the second point - ah, completely missed that, sorry. Shall I remove this case from the report, for clarity? |
@mikolak-net That's all right, otherwise I'd also have to change my comment :) |
Version 1.7.0 should solve it! |
That was fast, thanks! |
When running the following code on 1.6.2:
the result is the following:
It appears the function serving as the mocked method receives an unwrapped value that is then cast into a value class.
The second case might actually be unrelated to this problem (and may be another issue), included nevertheless for completeness' sake.
The text was updated successfully, but these errors were encountered: