aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_expand_records.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-12-03 17:02:24 +0100
committerBjörn Gustavsson <[email protected]>2012-12-03 17:02:24 +0100
commit0b73bb47674574e3e449d780c5704b02b15a8e07 (patch)
treeb43e5c5d118d186b338a1fcae1c2db2969d5f8f5 /lib/stdlib/src/erl_expand_records.erl
parent53ec991d193d5115b356d5850b6b1fae0ad71df6 (diff)
downloadotp-0b73bb47674574e3e449d780c5704b02b15a8e07.tar.gz
otp-0b73bb47674574e3e449d780c5704b02b15a8e07.tar.bz2
otp-0b73bb47674574e3e449d780c5704b02b15a8e07.zip
erl_expand_records: Remove stale support for literal tuple funs
Diffstat (limited to 'lib/stdlib/src/erl_expand_records.erl')
-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};