Skip to content

Commit

Permalink
Merge branch 'lukaszsamson/ls-consult/OTP-18873' into maint
Browse files Browse the repository at this point in the history
* lukaszsamson/ls-consult/OTP-18873:
  Add missing case clause
  • Loading branch information
garazdawi committed Nov 22, 2023
2 parents 541191d + 7d3a14b commit 687ef76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/kernel/src/file.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1481,6 +1481,8 @@ consult_stream(Fd, Line, Acc) ->
case io:read(Fd, '', Line) of
{ok,Term,EndLine} ->
consult_stream(Fd, EndLine, [Term|Acc]);
{error,Error} ->
{error,Error};
{error,Error,_Line} ->
{error,Error};
{eof,_Line} ->
Expand Down

0 comments on commit 687ef76

Please sign in to comment.