We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following type:
<type name="PartyIDSource" description="PartyIDSource" presence="constant" length="1" primitiveType="char" semanticType="char">C</type>
And the following field using the type:
<field name="PartyIDSource" id="447" type="PartyIDSource" semanticType="char"/>
This creates the following code in java:
public byte partyIDSource() { return (byte)C; }
because there's no single quotes around the C, this causes compilation failures , removing the length="1" part does fix it to be "return (byte)57;"
length="1"
"return (byte)57;"
The text was updated successfully, but these errors were encountered:
[Rust] Deal with case of length=1 on char arrays with presence consta…
e8b28ab
…nt. Issue #505.
Thanks.
Sorry, something went wrong.
No branches or pull requests
I have the following type:
And the following field using the type:
This creates the following code in java:
because there's no single quotes around the C, this causes compilation failures , removing the
length="1"
part does fix it to be"return (byte)57;"
The text was updated successfully, but these errors were encountered: