aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/code.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-05-13 11:55:41 +0200
committerBjörn Gustavsson <[email protected]>2015-05-13 12:00:58 +0200
commit823b54ea20c9d008acbaac98f9d8685a5018fac2 (patch)
treeba749ab100442c0de1b5ca9b4a07411b73c9560e /lib/kernel/src/code.erl
parent9a81b28598fadc44bf506354c9227e41aac786f6 (diff)
downloadotp-823b54ea20c9d008acbaac98f9d8685a5018fac2.tar.gz
otp-823b54ea20c9d008acbaac98f9d8685a5018fac2.tar.bz2
otp-823b54ea20c9d008acbaac98f9d8685a5018fac2.zip
code: Correct type spec for code:make_stub_module/3
e47490f83e561a changed the size of Info argument tuple (third argument) for code:make_stub_module/3 from 2 to 3, but did not update the spec in code.erl.
Diffstat (limited to 'lib/kernel/src/code.erl')
-rw-r--r--lib/kernel/src/code.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kernel/src/code.erl b/lib/kernel/src/code.erl
index d73d1ff281..5cc38325b1 100644
--- a/lib/kernel/src/code.erl
+++ b/lib/kernel/src/code.erl
@@ -107,7 +107,7 @@ is_module_native(_) ->
-spec make_stub_module(Module, Beam, Info) -> Module when
Module :: module(),
Beam :: binary(),
- Info :: {list(), list()}.
+ Info :: {list(), list(), binary()}.
make_stub_module(_, _, _) ->
erlang:nif_error(undef).