Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.9.3
-
None
-
None
Description
Try this IDL
========
namespace csharp whatever
exception DataServiceException {
1: optional string message;
}
service SomeDataService {
string Version() throws (1:DataServiceException e1);
}
========
And run 0.9.3 compiler for csharp
thrift -r -gen csharp aaa.thrift
[ERROR:....../aaa.thrift:10] (last token was 'e1')
syntax error
[FAILURE:...../aaa.thrift:10] Parser error during include pass.
If you change the exception name from e1 to e, then it would compile no problem.