[erlang-bugs] R16B02 asn1 encoding issue

Alex Peshkov a-grk@REDACTED
Wed Dec 4 11:56:51 CET 2013


Thank you very much for the advice. It helped.
-- 
Alex Peshkov


On 28 ноября 2013 г. at 20:15:56, Björn Gustavsson (bgustavsson@REDACTED) wrote:

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/20131204/0d626ffa/attachment.htm>


More information about the erlang-bugs mailing list