Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
From my understanding, a oneway is intended to return no value at all, allowing for optimizations like async execution within the service, etc. But both IDL Syntax and the Thrift Compiler allow for oneway functions having a return type other than void, which in my opinion is inconsistent.
At the very least a warning would be appropriate here.