bodar/totallylazy

Add support for multimethod matching with methods that return void

Opened this issue · 0 comments

Currently the multimethod implementation relies on returning an option for the return type if a method matched.

If the method has a void signature then the Java reflection API returns null for void methods, this is then converted into a Option.none, thereby incorrectly signaling the method did not match.