diff options
author | Hans Bolinder <[email protected]> | 2016-12-22 10:26:19 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2017-01-11 09:34:59 +0100 |
commit | 8786ac9ef56e34c6c2910320d2b291452853b034 (patch) | |
tree | 7e950af5ae1bcfc4a26b01a5cf25aaaad654dabc /lib/typer/src | |
parent | e083770cdea7b1dfdc9b74a3ae58b1cc8da8f3a9 (diff) | |
download | otp-8786ac9ef56e34c6c2910320d2b291452853b034.tar.gz otp-8786ac9ef56e34c6c2910320d2b291452853b034.tar.bz2 otp-8786ac9ef56e34c6c2910320d2b291452853b034.zip |
dialyzer: Use maps instead of dict for module contracts map
Diffstat (limited to 'lib/typer/src')
-rw-r--r-- | lib/typer/src/typer.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/typer/src/typer.erl b/lib/typer/src/typer.erl index 563b1bbcb5..88b654693b 100644 --- a/lib/typer/src/typer.erl +++ b/lib/typer/src/typer.erl @@ -156,7 +156,7 @@ extract(#analysis{macros = Macros, fun(Module, TmpPlt) -> {ok, ModuleContracts} = dict:find(Module, Contracts), SpecList = [{MFA, Contract} - || {MFA, {_FileLine, Contract}} <- dict:to_list(ModuleContracts)], + || {MFA, {_FileLine, Contract}} <- maps:to_list(ModuleContracts)], dialyzer_plt:insert_contract_list(TmpPlt, SpecList) end, NewTrustPLT = lists:foldl(FoldFun, TrustPLT, Modules), |