Issue 10219 - Implicit conversion between delegates returning a class and an interface

https://issues.dlang.org/show_bug.cgi?id=10219