aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-02-25 09:54:00 +0100
committerHans Bolinder <[email protected]>2014-02-25 09:54:00 +0100
commit21227c80407b4c4eedb0eacc44671a78e9df43b5 (patch)
tree5bfcb25e1de097d3bc02e9313ac01b5a5974429b /lib
parentd4f81b8eb9af912e36d2c1c46df543e3949a1ac5 (diff)
downloadotp-21227c80407b4c4eedb0eacc44671a78e9df43b5.tar.gz
otp-21227c80407b4c4eedb0eacc44671a78e9df43b5.tar.bz2
otp-21227c80407b4c4eedb0eacc44671a78e9df43b5.zip
Correct a contract in the igor module
Thanks Kostis.
Diffstat (limited to 'lib')
-rw-r--r--lib/syntax_tools/src/igor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/syntax_tools/src/igor.erl b/lib/syntax_tools/src/igor.erl
index e6aff7b20a..0420508f2a 100644
--- a/lib/syntax_tools/src/igor.erl
+++ b/lib/syntax_tools/src/igor.erl
@@ -727,7 +727,7 @@ merge_sources(Name, Sources, Opts) ->
%% Data structure for keeping state during transformation.
--record(state, {export :: sets:set(atom(), arity())}).
+-record(state, {export :: sets:set({atom(), arity()})}).
state__add_export(Name, Arity, S) ->
S#state{export = sets:add_element({Name, Arity},