aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-24 14:09:46 +0200
committerBjörn Gustavsson <[email protected]>2016-09-01 15:16:03 +0200
commit44c5d0a729387273a604f687fa2a9d50989f87d3 (patch)
tree27b566fbc0765e2272f7a193095e4d53394d4f37 /lib/stdlib/doc
parent04c67da5b455416c71fe9bc4c70fe61ceb7aad79 (diff)
downloadotp-44c5d0a729387273a604f687fa2a9d50989f87d3.tar.gz
otp-44c5d0a729387273a604f687fa2a9d50989f87d3.tar.bz2
otp-44c5d0a729387273a604f687fa2a9d50989f87d3.zip
Teach erl_expand_records to translate module-less calls
As the next step in eliminating sys_pre_expand, teach erl_expand_records to handle calls without explicit module name. If such call refer to a BIF or imported function, add an explicit module name. That means that any subsequent pass will know that a call without a module name is always to a local function defined in the module.
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/erl_expand_records.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/erl_expand_records.xml b/lib/stdlib/doc/src/erl_expand_records.xml
index 7e4aa2db37..b6aa75ed03 100644
--- a/lib/stdlib/doc/src/erl_expand_records.xml
+++ b/lib/stdlib/doc/src/erl_expand_records.xml
@@ -45,8 +45,10 @@
<name name="module" arity="2"/>
<fsummary>Expand all records in a module.</fsummary>
<desc>
- <p>Expands all records in a module. The returned module has no
- references to records, attributes, or code.</p>
+ <p>Expands all records in a module to use explicit tuple
+ operations and adds explicit module names to calls to BIFs and
+ imported functions. The returned module has no references to
+ records, attributes, or code.</p>
</desc>
</func>
</funcs>