Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
MinGW, Windows
-
Patch Available
Description
The following IDL file
struct test { 0 : string zero, 1 : string one, 2 : string two }
produced this Output:
c:\> thrift --allow-neg-keys -gen csharp .\testcase.thrift
Scanning testcase for includes
[WARNING:testcase:2] Negative field key (0) differs from what would be auto-assigned by thrift (0).
which is obviously wrong, since the latter value is of course -1, but not 0.