Add binary_part to the list of guard functions
This commit is contained in:
@@ -254,9 +254,7 @@ in_erlang_functions() ->
|
||||
{ abs, 1 },
|
||||
{ atom_to_binary, 2 },
|
||||
{ atom_to_list, 1 },
|
||||
% Those are allowed in guard clauses, so we need to bring them back.
|
||||
% { binary_part, 2 },
|
||||
% { binary_part, 3 },
|
||||
{ binary_part, 3 },
|
||||
{ binary_to_atom, 2 },
|
||||
{ binary_to_existing_atom, 2 },
|
||||
{ binary_to_list, 1 },
|
||||
|
||||
Reference in New Issue
Block a user