diff options
author | Björn Gustavsson <[email protected]> | 2014-11-03 15:51:40 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-01-12 11:40:26 +0100 |
commit | d17a84df58177143c89180aeb85373e0d5504210 (patch) | |
tree | 644bee3b5cb934dd2c0ba2a36a64aa47967622c2 /lib/asn1/test/testParamBasic.erl | |
parent | 6a72b71b69f1a41166cb6984607cca7bbbe38f43 (diff) | |
download | otp-d17a84df58177143c89180aeb85373e0d5504210.tar.gz otp-d17a84df58177143c89180aeb85373e0d5504210.tar.bz2 otp-d17a84df58177143c89180aeb85373e0d5504210.zip |
Correct another bug with instantiated types
a1260b2ffa60581ce3af0728320b593cca3fd7b0 fixed a problem with
expansion of parameterized types, but it didn't go all the way.
The compiler would still crash if we attempted to define a value
using the instantiated type.
Diffstat (limited to 'lib/asn1/test/testParamBasic.erl')
-rw-r--r-- | lib/asn1/test/testParamBasic.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/asn1/test/testParamBasic.erl b/lib/asn1/test/testParamBasic.erl index ab5bf70e55..5f6116bba4 100644 --- a/lib/asn1/test/testParamBasic.erl +++ b/lib/asn1/test/testParamBasic.erl @@ -46,13 +46,14 @@ main(Rules) -> roundtrip('AnAlgorithm', {'AnAlgorithm',1,42}), roundtrip('AnAlgorithm', {'AnAlgorithm',2,true}), roundtrip('AnAlgorithm', {'AnAlgorithm',2,false}), + {'AnAlgorithm',1,42} = 'ParamBasic':'alg-seq-1'(), + {'AnAlgorithm',2,true} = 'ParamBasic':'alg-seq-2'(), roundtrip('Seq', {'Seq', {'Seq_c1',{2,1,1},42}, {'Seq_c2',{2,1,1,1},asn1_NOVALUE}}), {_,{2,9,9,9,7},'NULL'} = 'ParamBasic':'algid-hmacWithSHA1'(), - ok. roundtrip(Type, Value) -> |