Issue 12508 - Codegen bug for interface type covariant return with lambda type inference

https://d.puremagic.com/issues/show_bug.cgi?id=12508