Skip to content

Commit

Permalink
Better specs
Browse files Browse the repository at this point in the history
Summary: As title, +2 clauses covered

Differential Revision: D56760562

fbshipit-source-id: 332b0200d7094bf197c9770018d0c17761100e52
  • Loading branch information
VLanvin authored and facebook-github-bot committed Apr 30, 2024
1 parent 4a583b2 commit 37487d3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion finer_taint/src/abstract_machine_proclet.erl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ handle_call(Msg, _From, State) ->
{reply, ok, State}.

-spec handle_cast(
{execute_instruction, Instruction :: taint_abstract_machine:instruction()}, state()
{run_instructions_file, FileName :: string()}
| {stop}
| {execute_instruction, Instruction :: taint_abstract_machine:instruction()},
state()
) ->
{noreply, state()}
| {stop, {shutdown, term()}, state()}.
Expand Down

0 comments on commit 37487d3

Please sign in to comment.