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
Describe the bug When there are BIT STRING values definitions in ASN.1 module compilation fails if both BER and JER options are used.
To Reproduce // BitStr.asn BitStr DEFINITIONS AUTOMATIC TAGS ::= BEGIN Value ::= BIT STRING {zero(0), one(1)} END
erlc -bber +jer BitStr.asn
.../BitStr.erl:398:1: function encode_bitstring/1 already defined % 398| encode_bitstring([B8, B7, B6, B5, B4, B3, B2, B1 | Rest]) -> % | ^
Affected versions OTP 27.0-rc2
The text was updated successfully, but these errors were encountered:
Thanks! I've fixed the bug in the linked pull request.
Sorry, something went wrong.
58bd650
Merge branch 'bjorn/asn1/ber-jer-bitstrings/GH-8291/OTP-19039' into m…
35c9f76
…aint * bjorn/asn1/ber-jer-bitstrings/GH-8291/OTP-19039: asn1: Fix compilation error when BER and JER are combined
0a100a0
…aint-26 * bjorn/asn1/ber-jer-bitstrings/GH-8291/OTP-19039: asn1: Fix compilation error when BER and JER are combined
bjorng
Successfully merging a pull request may close this issue.
Describe the bug
When there are BIT STRING values definitions in ASN.1 module compilation fails if both BER and JER options are used.
To Reproduce
// BitStr.asn
BitStr DEFINITIONS AUTOMATIC TAGS ::=
BEGIN
Value ::= BIT STRING {zero(0), one(1)}
END
erlc -bber +jer BitStr.asn
.../BitStr.erl:398:1: function encode_bitstring/1 already defined
% 398| encode_bitstring([B8, B7, B6, B5, B4, B3, B2, B1 | Rest]) ->
% | ^
Affected versions
OTP 27.0-rc2
The text was updated successfully, but these errors were encountered: