[erlang-bugs] R16B02 asn1 encoding issue

Björn Gustavsson bgustavsson@REDACTED
Thu Nov 28 17:15:53 CET 2013


On Thu, Nov 28, 2013 at 2:19 PM, Alex Peshkov <a-grk@REDACTED> wrote:

> [...]

This part of code is omitted by erlang asn1 compiler:
> ' enc_AppConfig'({‘AppConfig',Val}, TagIn) ->
>    'enc_AppConfig'(Val, TagIn);
>
> and I get function_clause error during asn1ct:encode call.
>

The use of {Type,Val} has long been obsolete, and it
didn't work in all back-ends in R15. In R16, we have removed
the old back-ends and removed all support for
{Type,Val}.

So what you need is to stop using {'AppConfig',Val} and
only use Val.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20131128/404a4245/attachment.htm>


More information about the erlang-bugs mailing list