aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-01-20 14:07:10 +0100
committerHans Bolinder <[email protected]>2016-01-20 14:07:10 +0100
commit8368fffcf8e57108d246cdeafb032c03a00431c9 (patch)
tree5dbec42a0ae45a456edc6a63c9e3b95372c7f88a
parentc45652ee1b43ba4501651182a6d3c9f4789c3429 (diff)
parent907618a797dcdbbcaa020edcdb2c0305eba2bb0f (diff)
downloadotp-8368fffcf8e57108d246cdeafb032c03a00431c9.tar.gz
otp-8368fffcf8e57108d246cdeafb032c03a00431c9.tar.bz2
otp-8368fffcf8e57108d246cdeafb032c03a00431c9.zip
Merge branch 'hb/stdlib/refine_abstr_types/OTP-10292'
* hb/stdlib/refine_abstr_types/OTP-10292: dialyzer: Correct a test case
-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}},