aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_specs.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-05-31 12:51:05 +0200
committerHans Bolinder <[email protected]>2011-05-31 12:51:05 +0200
commita8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58 (patch)
tree4394acd9c5d7a344bc23e9f22a8e6c1af9c9844c /lib/edoc/src/edoc_specs.erl
parentf6a77186a608fb08e2ffc65d06c4166b7127e4a0 (diff)
downloadotp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.tar.gz
otp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.tar.bz2
otp-a8c0e1d9810f6f4f4b5c63428adfc9ec06c3cd58.zip
Add no_return to the built-in types
Also fixed a Dialyzer warning (edoc_wiki.erl).
Diffstat (limited to 'lib/edoc/src/edoc_specs.erl')
-rw-r--r--lib/edoc/src/edoc_specs.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/edoc/src/edoc_specs.erl b/lib/edoc/src/edoc_specs.erl
index 519ade726f..79a5d142bc 100644
--- a/lib/edoc/src/edoc_specs.erl
+++ b/lib/edoc/src/edoc_specs.erl
@@ -305,8 +305,6 @@ d2e({ann_type,_,[V, T0]}) ->
%% layout module.
T = d2e(T0),
?add_t_ann(T, element(3, V));
-d2e({type,_,no_return,[]}) ->
- #t_type{name = #t_name{name = none}};
d2e({remote_type,_,[{atom,_,M},{atom,_,F},Ts0]}) ->
Ts = d2e(Ts0),
typevar_anno(#t_type{name = #t_name{module = M, name = F}, args = Ts}, Ts);