aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2018-12-28 21:16:24 +0100
committerPéter Gömöri <[email protected]>2018-12-28 21:16:24 +0100
commitd05d5b5c680f486557936d81c91c060834275b8a (patch)
treeaf74c6d0c7adb7dcf0ce263719d56b0a381fc19f /lib/stdlib/src
parent4c3418d26b8bb209aa46a2debd12e9f406738947 (diff)
downloadotp-d05d5b5c680f486557936d81c91c060834275b8a.tar.gz
otp-d05d5b5c680f486557936d81c91c060834275b8a.tar.bz2
otp-d05d5b5c680f486557936d81c91c060834275b8a.zip
Fix erl_parse:af_fun_type()
`af_function_type()` already contains the `{'type', anno(), 'fun', ...}` tuple so it does not have to be wrapped again.
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/erl_parse.yrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl
index 5880eb4536..760a49ed32 100644
--- a/lib/stdlib/src/erl_parse.yrl
+++ b/lib/stdlib/src/erl_parse.yrl
@@ -872,7 +872,7 @@ Erlang code.
-type af_fun_type() :: {'type', anno(), 'fun', []}
| {'type', anno(), 'fun', [{'type', anno(), 'any'} |
abstract_type()]}
- | {'type', anno(), 'fun', af_function_type()}.
+ | af_function_type().
-type af_integer_range_type() ::
{'type', anno(), 'range', [af_singleton_integer_type()]}.