Skip to content

Commit 3318d33

Browse files
ejpcmacJosé Valim
authored andcommitted
Fix a typo in the unnecessary quotes warning (#7934)
[ci skip] Signed-off-by: José Valim <[email protected]>
1 parent b6d7769 commit 3318d33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/src/elixir_tokenizer.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ tokenize([$:, H | T] = Original, Line, Column, Scope, Tokens) when ?is_quote(H)
425425
true ->
426426
elixir_errors:warn(Line, Scope#elixir_tokenizer.file, io_lib:format(
427427
"found quoted atom \"~ts\" but the quotes are not required. "
428-
"Quotes should only be used to introduced atoms with foreign characters in them",
428+
"Quotes should only be used to introduce atoms with foreign characters in them",
429429
[hd(Parts)]
430430
));
431431

@@ -646,7 +646,7 @@ handle_strings(T, Line, Column, H, Scope, Tokens) ->
646646
elixir_errors:warn(Line, Scope#elixir_tokenizer.file, io_lib:format(
647647
"found quoted keyword \"~ts\" but the quotes are not required. "
648648
"Note that keywords are always atoms, even when quoted, and quotes "
649-
"should only be used to introduced keywords with foreign characters in them",
649+
"should only be used to introduce keywords with foreign characters in them",
650650
[hd(Parts)]
651651
));
652652

0 commit comments

Comments
 (0)