Skip to content

Commit 8eb3125

Browse files
author
Gabriel Pereira
committed
OTP removed support for race_conditions flag.
erlang/otp#5502
1 parent af3ae2f commit 8eb3125

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def project do
232232
app: :my_app,
233233
version: "0.0.1",
234234
deps: deps,
235-
dialyzer: [flags: ["-Wunmatched_returns", :error_handling, :race_conditions, :underspecs]]
235+
dialyzer: [flags: ["-Wunmatched_returns", :error_handling, :underspecs]]
236236
]
237237
end
238238
```
@@ -249,7 +249,7 @@ def project do
249249
deps: deps,
250250
dialyzer: [
251251
plt_add_apps: [:mnesia],
252-
flags: [:unmatched_returns, :error_handling, :race_conditions, :no_opaque],
252+
flags: [:unmatched_returns, :error_handling, :no_opaque],
253253
paths: ["_build/dev/lib/my_app/ebin", "_build/dev/lib/foo/ebin"]
254254
]
255255
]

lib/dialyxir/warnings.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ defmodule Dialyxir.Warnings do
4040
Dialyxir.Warnings.OverlappingContract,
4141
Dialyxir.Warnings.PatternMatch,
4242
Dialyxir.Warnings.PatternMatchCovered,
43-
Dialyxir.Warnings.RaceCondition,
4443
Dialyxir.Warnings.RecordConstruction,
4544
Dialyxir.Warnings.RecordMatching,
4645
Dialyxir.Warnings.UnknownBehaviour,

lib/dialyxir/warnings/race_condition.ex

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)