Skip to content

Commit 2a94668

Browse files
committed
Let's not deprecate ...foo as the API may be useful
for the type system in the future. This reverts commit f97d858.
1 parent 56e6494 commit 2a94668

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/elixir/src/elixir_parser.yrl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -910,11 +910,6 @@ build_identifier({'.', Meta, _} = Dot, Args) ->
910910
build_identifier({op_identifier, Location, Identifier}, [Arg]) ->
911911
{Identifier, [{ambiguous_op, nil} | meta_from_location(Location)], [Arg]};
912912

913-
%% TODO: Either remove ... or make it an operator on v2.0
914-
build_identifier({_, {Line, Column, _} = Location, '...'}, Args) when is_list(Args) ->
915-
warn({Line, Column}, "... is no longer supported as a function call and it must receive no arguments"),
916-
{'...', meta_from_location(Location), Args};
917-
918913
build_identifier({_, Location, Identifier}, Args) ->
919914
{Identifier, meta_from_location(Location), Args}.
920915

0 commit comments

Comments
 (0)