diff options
author | Péter Gömöri <[email protected]> | 2018-12-28 21:31:22 +0100 |
---|---|---|
committer | Péter Gömöri <[email protected]> | 2018-12-28 21:31:22 +0100 |
commit | 52fdb19885ce9342e29a8c946c76222567a6605c (patch) | |
tree | 33cefb0be8e4d439fce36577854d2a1df93f7461 /lib/stdlib | |
parent | d05d5b5c680f486557936d81c91c060834275b8a (diff) | |
download | otp-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.yrl | 4 |
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() |