Skip to content

Commit 23ab633

Browse files
committed
Add TODO related to ...
1 parent eead8de commit 23ab633

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/src/elixir_tokenizer.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ tokenize([$:, T | Rest], Line, Column, Scope, Tokens) when
352352

353353
% ## Stand-alone tokens
354354

355+
%% TODO: Consider either making ... as nullary operator (same as ..)
356+
%% or deprecating it. In Elixir itself it is only used in typespecs.
355357
tokenize("..." ++ Rest, Line, Column, Scope, Tokens) ->
356358
NewScope = maybe_warn_too_many_of_same_char("...", Rest, Line, Column, Scope),
357359
Token = check_call_identifier(Line, Column, "...", '...', Rest),

0 commit comments

Comments
 (0)