Menu

#35 Oper. with no return type not supported

open
nobody
None
5
2002-12-11
2002-12-11
No

Mof operations with no return type generates bad code.
A MOF operation with no return type is translated to
a call inside a method needing a return type.

To reproduce that, simply declare in a class a method
with no return type. The generated code doesn't compile
and point to the problem.
I have no patch for now.
A workaround is to declare a return type, and let the
method return anything (ex: null).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.