From 8dad90e81443038707cccac66ef0718ac0ff6ee3 Mon Sep 17 00:00:00 2001 From: Paul Guyot Date: Thu, 17 Jun 2010 14:20:46 +0200 Subject: 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. --- lib/stdlib/src/beam_lib.erl | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/stdlib/src') diff --git a/lib/stdlib/src/beam_lib.erl b/lib/stdlib/src/beam_lib.erl index 91ff2438c6..e612bf71e7 100644 --- a/lib/stdlib/src/beam_lib.erl +++ b/lib/stdlib/src/beam_lib.erl @@ -105,6 +105,7 @@ | info_rsn(). -type cmp_rsn() :: {'modules_different', module(), module()} | {'chunks_different', chunkid()} + | 'different_chunks' | info_rsn(). %%------------------------------------------------------------------------- -- cgit v1.2.3