-
Notifications
You must be signed in to change notification settings - Fork 2
Bugs in the generated sample code #6
Copy link
Copy link
Open
Labels
Description
In the generated Java code, the Order member TransactTm ends in a lower-case "m", but in the constructor you access it as TransactTM ending in a capital "M".
In C# and C++, a class Foo must not have a member that's also called Foo. Thus this C# line and this C++ line (and probably more) will give compile errors.
The C++ code won't compile because of multiple reasons. And defining everything including constructors in a header is a no-no anyway.
So is the goal generating code that actually compiles and works, or is being syntactically similar to Java/C#/C++ enough?
Reactions are currently unavailable