Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# DialyzerError.Umbrella

If you open `apps/dialyzer_error/lib/a.ex` in an editor running ElixirLS and wait for Dialyzer to finish running, then you should see the following errors:
If you open `apps/dialyzer_error/lib/a.ex` in an editor running ElixirLS and wait for the first build to finish running, then you should see the following error:

```
a.ex 2 3 warning Function fun/0 has no local return. (lsp)
a.ex 4 5 warning The pattern can never match the type.
`
b.ex 5 3 error (SyntaxError) unexpected token: end. The "(" at line 4 is missing terminator ")"

Pattern:
:ok

Type:
:error
Stacktrace:
│ (elixir 1.10.2) lib/kernel/parallel_compiler.ex:304: anonymous fn/4 in Kernel.ParallelCompiler.spawn_workers/7 (lsp)
```
1 change: 1 addition & 0 deletions apps/dialyzer_error/lib/b.ex
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
defmodule B do
def fun do
:error
bad_call(
end
end