aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/beam_lib.xml
diff options
context:
space:
mode:
authorPaul Guyot <[email protected]>2010-06-17 14:20:46 +0200
committerPaul Guyot <[email protected]>2010-06-17 14:20:46 +0200
commit8dad90e81443038707cccac66ef0718ac0ff6ee3 (patch)
tree9b59c9c705cba4a92412b70645cc04521a180263 /lib/stdlib/doc/src/beam_lib.xml
parentc1e94fa9a6fe4ae717d35dfbd1b628dc2e06d26a (diff)
downloadotp-8dad90e81443038707cccac66ef0718ac0ff6ee3.tar.gz
otp-8dad90e81443038707cccac66ef0718ac0ff6ee3.tar.bz2
otp-8dad90e81443038707cccac66ef0718ac0ff6ee3.zip
Fix beam_lib:cmp/2 return type specification
Specify that beam_lib:cmp/2 can return {error, beam_lib, different_chunks} if a chunk is only present in one of the beams.
Diffstat (limited to 'lib/stdlib/doc/src/beam_lib.xml')
-rw-r--r--lib/stdlib/doc/src/beam_lib.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/stdlib/doc/src/beam_lib.xml b/lib/stdlib/doc/src/beam_lib.xml
index 27308e02f3..adc411e272 100644
--- a/lib/stdlib/doc/src/beam_lib.xml
+++ b/lib/stdlib/doc/src/beam_lib.xml
@@ -341,6 +341,7 @@ chunkref() = chunkname() | chunkid()</code>
<v>Beam1 = Beam2 = beam()</v>
<v>Reason = {modules_different, Module1, Module2}</v>
<v>&nbsp;&nbsp;| {chunks_different, ChunkId}</v>
+ <v>&nbsp;&nbsp;| different_chunks</v>
<v>&nbsp;&nbsp;| Reason1 -- see info/1</v>
<v>&nbsp;Module1 = Module2 = atom()</v>
<v>&nbsp;ChunkId = chunkid()</v>