Skip to content

Commit 02b7339

Browse files
committed
Ignore nomatch_clause_type warnings, closes #1
1 parent 206bd50 commit 02b7339

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/elixir_object.erl

+3
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ format_warnings(Filename, Warnings) ->
195195
format_warning(Filename, {Line,_,{unused_var,self}}) ->
196196
[];
197197

198+
format_warning(Filename, {Line,_,nomatch_clause_type}) ->
199+
[];
200+
198201
format_warning(Filename, {Line, _, {unused_function, {Name, Arity}}}) ->
199202
Message = io_lib:format("unused local method ~s/~w\n", [Name, Arity-1]),
200203
io:format(elixir_errors:file_format(Line, Filename, Message));

0 commit comments

Comments
 (0)