diff options
author | Hans Bolinder <[email protected]> | 2016-04-08 12:13:57 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2016-04-18 13:17:17 +0200 |
commit | 7986d60dac9687b3aef3115f0dccc86003a681e6 (patch) | |
tree | b370c3037e61073b0d060a4cf938856b3dff17b0 /lib/stdlib/test | |
parent | ec828d3981e59e746a58977034d1020be3ff8915 (diff) | |
download | otp-7986d60dac9687b3aef3115f0dccc86003a681e6.tar.gz otp-7986d60dac9687b3aef3115f0dccc86003a681e6.tar.bz2 otp-7986d60dac9687b3aef3115f0dccc86003a681e6.zip |
stdlib: The type map() is built-in
Diffstat (limited to 'lib/stdlib/test')
-rw-r--r-- | lib/stdlib/test/erl_lint_SUITE.erl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl index 29a389d4b8..6fea198af3 100644 --- a/lib/stdlib/test/erl_lint_SUITE.erl +++ b/lib/stdlib/test/erl_lint_SUITE.erl @@ -2703,9 +2703,8 @@ otp_11872(Config) when is_list(Config) -> t() -> 1. ">>, - {error,[{6,erl_lint,{undefined_type,{product,0}}}, - {8,erl_lint,{undefined_type,{dict,0}}}], - [{8,erl_lint,{new_builtin_type,{map,0}}}]} = + {errors,[{6,erl_lint,{undefined_type,{product,0}}}, + {8,erl_lint,{builtin_type,{map,0}}}], []} = run_test2(Config, Ts, []), ok. @@ -3689,7 +3688,7 @@ maps_type(Config) when is_list(Config) -> t(M) -> M. ">>, [], - {warnings,[{3,erl_lint,{new_builtin_type,{map,0}}}]}}], + {errors,[{3,erl_lint,{builtin_type,{map,0}}}],[]}}], [] = run(Config, Ts), ok. |