aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-12-15 09:13:27 +0100
committerBjörn Gustavsson <[email protected]>2017-01-12 12:10:11 +0100
commitfa67ec3313a84c578e9cfcce31795a1ac66a289f (patch)
tree3c728b425361798b73b92a49c03f5c213213ea10 /lib/compiler
parent0ace5c171f78f0da492ff036a0d1beac68822883 (diff)
downloadotp-fa67ec3313a84c578e9cfcce31795a1ac66a289f.tar.gz
otp-fa67ec3313a84c578e9cfcce31795a1ac66a289f.tar.bz2
otp-fa67ec3313a84c578e9cfcce31795a1ac66a289f.zip
v3_kernel_pp: Correct spec for format/1
Diffstat (limited to 'lib/compiler')
-rw-r--r--lib/compiler/src/v3_kernel_pp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/src/v3_kernel_pp.erl b/lib/compiler/src/v3_kernel_pp.erl
index d5f6ee19c9..187e69a22c 100644
--- a/lib/compiler/src/v3_kernel_pp.erl
+++ b/lib/compiler/src/v3_kernel_pp.erl
@@ -47,7 +47,7 @@
canno(Cthing) -> element(2, Cthing).
--spec format(cerl:cerl()) -> iolist().
+-spec format(#k_mdef{}) -> iolist().
format(Node) -> format(Node, #ctxt{}).