diff options
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), |