This fixes #53. The IsAssignableFrom method wasn't accounting for the fact that you can assign a (boxed) struct to an interface.
I'm not very familiar with the codebase, so I don't know if this is the most effective way of fixing the bug, although the tests do all pass. Have a look at my code, feedback very welcome 😉
This fixes #53. The
IsAssignableFrom
method wasn't accounting for the fact that you can assign a (boxed) struct to an interface.I'm not very familiar with the codebase, so I don't know if this is the most effective way of fixing the bug, although the tests do all pass. Have a look at my code, feedback very welcome 😉