aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2018-12-28 21:31:22 +0100
committerPéter Gömöri <[email protected]>2018-12-28 21:31:22 +0100
commit52fdb19885ce9342e29a8c946c76222567a6605c (patch)
tree33cefb0be8e4d439fce36577854d2a1df93f7461 /lib/stdlib
parentd05d5b5c680f486557936d81c91c060834275b8a (diff)
downloadotp-52fdb19885ce9342e29a8c946c76222567a6605c.tar.gz
otp-52fdb19885ce9342e29a8c946c76222567a6605c.tar.bz2
otp-52fdb19885ce9342e29a8c946c76222567a6605c.zip
Fix erl_parse:af_constraint()
Add missing list wrapper.
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/src/erl_parse.yrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl
index 760a49ed32..5fa9c4f75c 100644
--- a/lib/stdlib/src/erl_parse.yrl
+++ b/lib/stdlib/src/erl_parse.yrl
@@ -924,8 +924,8 @@ Erlang code.
-type af_function_constraint() :: [af_constraint()].
-type af_constraint() :: {'type', anno(), 'constraint',
- af_lit_atom('is_subtype'),
- [af_type_variable() | abstract_type()]}. % [V, T]
+ [af_lit_atom('is_subtype') |
+ [af_type_variable() | abstract_type()]]}. % [IsSubtype, [V, T]]
-type af_singleton_integer_type() :: af_integer()
| af_character()