Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitebfe8e7

Browse files
committed
Fix dialyzer underspecs errors.
1 parent6990b3d commitebfe8e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎src/pqueue3.erl‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
%%%
1515
%%% MIT License
1616
%%%
17-
%%% Copyright (c) 2011-2017 Michael Truog <mjtruog at protonmail dot com>
17+
%%% Copyright (c) 2011-2020 Michael Truog <mjtruog at protonmail dot com>
1818
%%%
1919
%%% Permission is hereby granted, free of charge, to any person obtaining a
2020
%%% copy of this software and associated documentation files (the "Software"),
@@ -35,8 +35,8 @@
3535
%%% DEALINGS IN THE SOFTWARE.
3636
%%%
3737
%%% @author Michael Truog <mjtruog at protonmail dot com>
38-
%%% @copyright 2011-2017 Michael Truog
39-
%%% @version1.7.1 {@date} {@time}
38+
%%% @copyright 2011-2020 Michael Truog
39+
%%% @version2.0.1 {@date} {@time}
4040
%%%------------------------------------------------------------------------
4141

4242
-module(pqueue3).
@@ -60,6 +60,7 @@
6060
%%%------------------------------------------------------------------------
6161

6262
-typepqueue3():: {integer(),integer(),empty |integer(),tuple()}.
63+
-typepqueue3_empty():: {integer(),integer(),empty,tuple()}.
6364

6465
%%-------------------------------------------------------------------------
6566
%% @doc
@@ -155,7 +156,7 @@ len(I, {{value, _}, Q}) ->
155156
%% @end
156157
%%-------------------------------------------------------------------------
157158

158-
-specnew()->pqueue3().
159+
-specnew()->pqueue3_empty().
159160

160161
new()->
161162
new([]).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp