From a43f2cc4c33da816a52de0b10e30f3bf0ee5a857 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 23 Feb 2021 13:51:13 +0100 Subject: [PATCH] Fix wrong gen_server spec detected by Dialyzer --- src/sqlite3.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sqlite3.erl b/src/sqlite3.erl index 8c43f27..c3cf6ea 100644 --- a/src/sqlite3.erl +++ b/src/sqlite3.erl @@ -826,7 +826,7 @@ do_init(Options) -> %% {noreply, tuple()} | {noreply, tuple(), integer()} | %% {stop, any(), any(), tuple()} | {stop, any(), tuple()}. --spec handle_call(any(), pid(), #state{}) -> {'reply', any(), #state{}} | {'stop', 'normal', 'ok', #state{}}. +-spec handle_call(any(), {pid(), term()}, #state{}) -> {'reply', any(), #state{}} | {'stop', 'normal', 'ok', #state{}}. handle_call(close, _From, State) -> Reply = ok, {stop, normal, Reply, State};