aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-21 14:46:22 +0200
committerBjörn Gustavsson <[email protected]>2015-05-21 14:46:22 +0200
commitae108372376a09dab2427eb7e20aa665e2c3cde1 (patch)
treeb603ae92ee33350afd8997215a857c47fed6f5c4 /lib/stdlib/src
parentdb7446a0235f5379ed230a51cc1d55475549f36b (diff)
downloadotp-ae108372376a09dab2427eb7e20aa665e2c3cde1.tar.gz
otp-ae108372376a09dab2427eb7e20aa665e2c3cde1.tar.bz2
otp-ae108372376a09dab2427eb7e20aa665e2c3cde1.zip
Remove final (?) vestiges of support for parameterized modules
Parameterized modules were removed in cdf8060868575, but a few vestiges still remained in erl_lint.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/erl_lint.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/stdlib/src/erl_lint.erl b/lib/stdlib/src/erl_lint.erl
index c68ec601bf..714c260bda 100644
--- a/lib/stdlib/src/erl_lint.erl
+++ b/lib/stdlib/src/erl_lint.erl
@@ -127,7 +127,6 @@ value_option(Flag, Default, On, OnVal, Off, OffVal, Opts) ->
recdef_top=false :: boolean(), %true in record initialisation
%outside any fun or lc
xqlc= false :: boolean(), %true if qlc.hrl included
- new = false :: boolean(), %Has user-defined 'new/N'
called= [] :: [{fa(),line()}], %Called functions
usage = #usage{} :: #usage{},
specs = dict:new() %Type specifications
@@ -642,8 +641,6 @@ forms(Forms0, St0) ->
St4 = foldl(fun form/2, pre_scan(Forms, St3), Forms),
post_traversal_check(Forms, St4).
-pre_scan([{function,_L,new,_A,_Cs} | Fs], St) ->
- pre_scan(Fs, St#lint{new=true});
pre_scan([{attribute,L,compile,C} | Fs], St) ->
case is_warn_enabled(export_all, St) andalso
member(export_all, lists:flatten([C])) of