diff options
author | Hans Bolinder <[email protected]> | 2015-09-15 14:25:48 +0200 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2015-09-15 14:25:48 +0200 |
commit | 676b4aaf02b5ba4069ec19eff2c0b42074d30fce (patch) | |
tree | d6907817794d330611df1ef5a1969fe97ca8116f /lib/stdlib/test/erl_lint_SUITE.erl | |
parent | 195393b00e0a5b83526a2bca504fe32edd6dc989 (diff) | |
parent | d16c327bd35493a3687f7e07e2b332d2d18c5bc8 (diff) | |
download | otp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.tar.gz otp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.tar.bz2 otp-676b4aaf02b5ba4069ec19eff2c0b42074d30fce.zip |
Merge branch 'hb/finish_line_abstraction/OTP-12861'
* hb/finish_line_abstraction/OTP-12861:
syntax_tools: Use the erl_anno module a bit more
test_server: Fix a bug related to the use of the erl_anno module
debugger: Fix a bug related to the use of the erl_anno module
stdlib: Remove deprecated functions in erl_parse and erl_scan
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_lint_SUITE.erl | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/lib/stdlib/test/erl_lint_SUITE.erl b/lib/stdlib/test/erl_lint_SUITE.erl index 0424e2b967..6c07dc1ec6 100644 --- a/lib/stdlib/test/erl_lint_SUITE.erl +++ b/lib/stdlib/test/erl_lint_SUITE.erl @@ -65,7 +65,7 @@ too_many_arguments/1, basic_errors/1,bin_syntax_errors/1, predef/1, - maps/1,maps_type/1,otp_11851/1,otp_12195/1 + maps/1,maps_type/1,otp_11851/1 ]). % Default timetrap timeout (set in init_per_testcase). @@ -94,7 +94,7 @@ all() -> bif_clash, behaviour_basic, behaviour_multiple, otp_11861, otp_7550, otp_8051, format_warn, {group, on_load}, too_many_arguments, basic_errors, bin_syntax_errors, predef, - maps, maps_type, otp_11851, otp_12195]. + maps, maps_type, otp_11851]. groups() -> [{unused_vars_warn, [], @@ -3835,40 +3835,6 @@ otp_11851(Config) when is_list(Config) -> [] = run(Config, Ts), ok. -otp_12195(doc) -> - "OTP-12195: Check obsolete types (tailor made for OTP 18)."; -otp_12195(Config) when is_list(Config) -> - Ts = [{otp_12195_1, - <<"-export_type([r1/0]). - -type r1() :: erl_scan:line() - | erl_scan:column() - | erl_scan:location() - | erl_anno:line().">>, - [], - {warnings,[{2,erl_lint, - {deprecated_type,{erl_scan,line,0}, - "deprecated (will be removed in OTP 19); " - "use erl_anno:line() instead"}}, - {3,erl_lint, - {deprecated_type,{erl_scan,column,0}, - "deprecated (will be removed in OTP 19); use " - "erl_anno:column() instead"}}, - {4,erl_lint, - {deprecated_type,{erl_scan,location,0}, - "deprecated (will be removed in OTP 19); " - "use erl_anno:location() instead"}}]}}, - {otp_12195_2, - <<"-export_type([r1/0]). - -compile(nowarn_deprecated_type). - -type r1() :: erl_scan:line() - | erl_scan:column() - | erl_scan:location() - | erl_anno:line().">>, - [], - []}], - [] = run(Config, Ts), - ok. - run(Config, Tests) -> F = fun({N,P,Ws,E}, BadL) -> case catch run_test(Config, P, Ws) of |