Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.13.0
-
None
Description
When compiling a thrift file with keyword 'event' and content:
struct Departures
{ [...] 4:required StopEventParam event, // Options [...] }it is compiled without escaping:
public Departures([...], StopEventParam event, [...]) : this()
{ [...] this.Event = event; [...] }same with keyword 'params'
struct Departures
{ [...] 4:required StopEventParam params, // Options [...] }it is compiled without escaping:
public Departures([...], StopEventParam params, [...]) : this()
{ [...] this.Event = params; [...] }The expected behaviour would be similiar to the csharp generator the escaping with an '@'
for example:
@params