Skip to content

Commit 10fcdd0

Browse files
committed
Fix parse_error input spec
1 parent b58e843 commit 10fcdd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/elixir/src/elixir_errors.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ compile_error(Meta, File, Message) when is_list(Message) ->
317317
%% Tokenization parsing/errors.
318318

319319
-spec parse_error(elixir:keyword(), binary() | {binary(), binary()},
320-
binary(), binary(), {unicode:charlist(), integer(), integer()}) -> no_return().
320+
binary(), binary(), {unicode:charlist(), integer(), integer(), non_neg_integer()}) -> no_return().
321321
parse_error(Location, File, Error, <<>>, Input) ->
322322
Message = case Error of
323323
<<"syntax error before: ">> -> <<"syntax error: expression is incomplete">>;

0 commit comments

Comments
 (0)