Skip to content

Commit 5311c61

Browse files
committed
Merge remote-tracking branch 'anoma/ray/dialyzer-improper-list-flag-explanation' into base
* anoma/ray/dialyzer-improper-list-flag-explanation: dialyzer: explain -Wno_improper_lists flag
2 parents 3be785f + c5dfe67 commit 5311c61

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mix.exs

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ defmodule Anoma.MixProject do
1616
dialyzer: [
1717
plt_local_path: "plts/anoma.plt",
1818
plt_core_path: "plts/core.plt",
19-
flags: ["-Wno_improper_lists"],
19+
flags: [
20+
# Turn off the warning for improper lists, because we use
21+
# bare cons frequently and deliberately.
22+
"-Wno_improper_lists"
23+
],
2024
plt_add_apps: [:mix, :ex_unit]
2125
],
2226
# Docs

0 commit comments

Comments
 (0)