Jens Geyer created THRIFT-5794:
----------------------------------

             Summary: Uncompilable C# code in 0.20.0
                 Key: THRIFT-5794
                 URL: https://issues.apache.org/jira/browse/THRIFT-5794
             Project: Thrift
          Issue Type: Bug
          Components: netstd - Compiler
    Affects Versions: 0.20.0
            Reporter: Jens Geyer
            Assignee: Jens Geyer


h2. Symptom
{code}
namespace * deepcopy_syntax

struct CIELab
{
  1: double L;
  2: double a;
  3: double b;
}
{code}

via 

{code}
thrift -gen netstd test.thrift
{code}

leads to 

{code}
public CIELab DeepCopy()
{
        var tmp5 = new CIELab()    // <----- here the closing ";" is missing
        if(__isset.L)
        {
                tmp5.L = this.L;
        }
        ...
{code}  

h2. Affected versions
* 0.20.0 only




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to