summaryrefslogtreecommitdiff
path: root/lib/dialyzer/test/opaque_SUITE_data/src
diff options
context:
space:
mode:
authorHans Bolinder <hasse@erlang.org>2016-01-20 14:04:03 +0100
committerHans Bolinder <hasse@erlang.org>2016-01-20 14:04:03 +0100
commit907618a797dcdbbcaa020edcdb2c0305eba2bb0f (patch)
tree5dbec42a0ae45a456edc6a63c9e3b95372c7f88a /lib/dialyzer/test/opaque_SUITE_data/src
parentc45652ee1b43ba4501651182a6d3c9f4789c3429 (diff)
downloaderlang-907618a797dcdbbcaa020edcdb2c0305eba2bb0f.tar.gz
dialyzer: Correct a test case
Diffstat (limited to 'lib/dialyzer/test/opaque_SUITE_data/src')
-rw-r--r--lib/dialyzer/test/opaque_SUITE_data/src/proper/proper_typeserver.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dialyzer/test/opaque_SUITE_data/src/proper/proper_typeserver.erl b/lib/dialyzer/test/opaque_SUITE_data/src/proper/proper_typeserver.erl
index b6cab5e24b..1677b4efb8 100644
--- a/lib/dialyzer/test/opaque_SUITE_data/src/proper/proper_typeserver.erl
+++ b/lib/dialyzer/test/opaque_SUITE_data/src/proper/proper_typeserver.erl
@@ -781,7 +781,8 @@ add_mod_info({attribute,_Line,record,{RecName,Fields}},
true ->
ModInfo;
false ->
- TypedRecord = {attribute,0,type,{{record,RecName},Fields,[]}},
+ A = erl_anno:new(0),
+ TypedRecord = {attribute,A,type,{{record,RecName},Fields,[]}},
add_mod_info(TypedRecord, ModInfo)
end;
add_mod_info({attribute,_Line,Kind,{Name,TypeForm,VarForms}},