Fail to recognize func.return as a block terminator in ParseSourceFile()

Hi mehdi_amini, I have some new discoveries about the problem, could you please have a look?

Pybind error when accessing the same compiled obj (mlir.ir.module.parse and parseSourceFile<mlir::ModuleOp>)