Codegen fix to assign right return type name to FFI methods
Merge pull request #2113 from aparajit-pratap/methodReturnTypeFix

Codegen fix to assign right return type name to FFI methods