Skip to content

Commit 679f978

Browse files
radarJosé Valim
authored andcommitted
Add 'a' to {invalid_clauses, Name} error (#9090)
1 parent d4f8d41 commit 679f978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/src/elixir_expand.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ format_error({op_ambiguity, Name, Arg}) ->
11571157
io_lib:format(Message, [Name, 'Elixir.Macro':to_string(Arg), Name]);
11581158
format_error({invalid_clauses, Name}) ->
11591159
Message =
1160-
"the function \"~ts\" cannot handle clauses with the -> operator because it is not macro. "
1160+
"the function \"~ts\" cannot handle clauses with the -> operator because it is not a macro. "
11611161
"Please make sure you are invoking the proper name and that it is a macro",
11621162
io_lib:format(Message, [Name]);
11631163
format_error({invalid_alias_for_as, Reason, Value}) ->

0 commit comments

Comments
 (0)