Tell dialyzer to bugger off

This commit is contained in:
Ulf Norell
2019-09-03 14:30:56 +02:00
parent 30de1db163
commit 0b56691533
4 changed files with 11 additions and 2 deletions
+1
View File
@@ -50,6 +50,7 @@ pos(Line, Col) ->
pos(File, Line, Col) ->
#pos{ file = File, line = Line, col = Col }.
-spec throw(_) -> ok | no_return().
throw([]) -> ok;
throw(Errs) when is_list(Errs) ->
erlang:throw({error, Errs});