aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2011-08-02 15:05:51 +0200
committerHenrik Nord <[email protected]>2011-08-04 11:27:01 +0200
commitb2fe00d8d8996d7a8d0ed1142e4cdba7960809bc (patch)
treed6c029c81e82176099aff7484c87164739047294 /lib/edoc
parentd23c1374a4b19a7b6ced9d1a1b0bac536ff4d104 (diff)
downloadotp-b2fe00d8d8996d7a8d0ed1142e4cdba7960809bc.tar.gz
otp-b2fe00d8d8996d7a8d0ed1142e4cdba7960809bc.tar.bz2
otp-b2fe00d8d8996d7a8d0ed1142e4cdba7960809bc.zip
fix -spec declaration that doesn't work in R13B04
Diffstat (limited to 'lib/edoc')
-rw-r--r--lib/edoc/src/edoc_specs.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index 79a5d142bc..bfb17515be 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -87,8 +87,9 @@ dummy_spec(Form) ->
#tag{name = spec, line = element(2, hd(TypeSpecs)),
origin = code, data = S}.
--spec docs(Forms::[syntaxTree()], CommentFun) -> dict() when
- CommentFun :: fun(([syntaxTree()], Line :: term()) -> #tag{}).
+-spec docs(Forms::[syntaxTree()],
+ CommentFun :: fun( ([syntaxTree()], Line :: term()) -> #tag{} ))
+ -> dict().
%% @doc Find comments after -type/-opaque declarations.
%% Postcomments "inside" the type are skipped.