aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-06 14:14:07 +0100
committerBjörn Gustavsson <[email protected]>2012-12-06 14:14:07 +0100
commitca3b66e3d2c734e8715c7ed078e4fa9ae10462de (patch)
treecbb1f4a8d034b09813453ae9f20a4d5465249fc8 /lib
parent5b40d5502f008f9c44bc4a3bd9037439e35ce0a7 (diff)
parent0b73bb47674574e3e449d780c5704b02b15a8e07 (diff)
downloadotp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.tar.gz
otp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.tar.bz2
otp-ca3b66e3d2c734e8715c7ed078e4fa9ae10462de.zip
Merge branch 'bjorn/remove-tuple-funs/OTP-10170'
* bjorn/remove-tuple-funs/OTP-10170: erl_expand_records: Remove stale support for literal tuple funs Teach is_function/2 that tuples are not funs
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/erl_expand_records.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/stdlib/src/erl_expand_records.erl b/lib/stdlib/src/erl_expand_records.erl
index 9759a8f001..85defacc43 100644
--- a/lib/stdlib/src/erl_expand_records.erl
+++ b/lib/stdlib/src/erl_expand_records.erl
@@ -381,9 +381,6 @@ expr({call,Line,{record_field,_,_,_}=M,As0}, St0) ->
expr({call,Line,{remote,Lr,M,F},As0}, St0) ->
{[M1,F1 | As1],St1} = expr_list([M,F | As0], St0),
{{call,Line,{remote,Lr,M1,F1},As1},St1};
-expr({call,Line,{tuple,Lt,[{atom,_,_}=M,{atom,_,_}=F]},As0}, St0) ->
- {As,St1} = expr_list(As0, St0),
- {{call,Line,{tuple,Lt,[M,F]},As},St1};
expr({call,Line,F,As0}, St0) ->
{[Fun1 | As1],St1} = expr_list([F | As0], St0),
{{call,Line,Fun1,As1},St1};