Skip to content

Commit 4b6fe41

Browse files
ansdhappi
authored andcommitted
Fix function name
1 parent cfdc8c6 commit 4b6fe41

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

chapters/beam_instructions.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ the instruction set `0`.
158158
Then we get a list of exported functions `id/1`, `module_info/0`,
159159
`module_info/1`. As we can see the compiler has added two auto
160160
generated functions to the code. These two functions are just
161-
dispatchers to the generic module info BIFs (`erlang:module_info/1` and
162-
`erlang:module_info/2`) with the name of the module added as the first
161+
dispatchers to the generic module info BIFs (`erlang:get_module_info/1` and
162+
`erlang:get_module_info/2`) with the name of the module added as the first
163163
argument.
164164

165165
The line `+{attributes, []}+` list all defined compiler attributes, none in

0 commit comments

Comments
 (0)