Latest #dialyzer Threads 
With this code under OTP 27 dialyzer ran cleanly:
defmodule Test do
@base_uribase_uri URI.new!(“`https://google.ca`”)
def our_base ...
New
As the title says: is it possible to verify that a parameter to a macro is a typespec? As I understand it, a macro receives the ASTs as p...
New
Can anyone explain this error to me?
From my POV, SightxrApi.Job.ParseDocumentsWorkflow.Options is right there :).
New
Hi folks,
I want to create a function spec which tells the compiler that the return type will be conforming to a given Behavior. This qu...
New
Background
I am trying to write some code to exemplify the power of behaviours in Elixir.
As a result, I am trying to implement this dia...
New
I’m working with a team that are running (relatively) old versions of Elixir and Erlang. Last month I added dialyzer, via dialyxir (can n...
New
Hi, a user found an issue when attempting to use my Ultraviolet library: Unexpected Dialyzer issue · Issue #1 · dcrck/ultraviolet · GitHu...
New
Hello!
I use elixir with asdf and mix dialyzer emits errors like that:
deps/plug/lib/plug/router.ex:1:callback_info_missing
Callback in...
New
Let’s image that I have a behaviour:
defmodule Bylins.Parser.API do
@behaviour __MODULE__
@callback get_page(integer()) :: {:ok, St...
New
I’m still relatively new to Elixir, so I’m hoping someone can shed some light on what’s up with my mode and/or dialyzer:
defmodule Eclip...
New
This Week's Trending
This Month's Trending
This Year's Trending
With this code under OTP 27 dialyzer ran cleanly:
defmodule Test do
@base_uribase_uri URI.new!(“`https://google.ca`”)
def our_base ...
New
Last Three Year's Trending
This dialyzer warning just happened randomly once I apply defmacro in my module.
I got 2 modules, the issues only appear in StoreFront m...
New
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects.
Core ideas
Type- and function specifications are const...
New
I’m getting a few things from my dialyzer output that I’m not sure how I can fix.
:0:unknown_function
Function ExUnit.Assertions.flunk/1...
New
I was hoping I could get something like this working:
defmodule FooRegistry do
@foos [
FirstFoo,
SecondFoo,
ThirdFoo
]...
New
Dialyzer is a tool that you’ve probably heard about in the Elixir community. You may have even used it. However, adding Dialyzer to an ex...
New
I’ve been adding and refining specs on my (12 KLOC Elixir) project. This is an iterative process, so I run Dialyzer a lot. Even after the...
New
After reading Dialyzer: suppress warning on a specific function, I think I know what I need but I don’t know where to put it.
I get a wa...
New
I have a function where I do:
def recomputeCapacity(%MapSet{} = mCallIds) do
cu =
mCallIds
|> MapSet.to_list()
And D...
New
I have a Mix task that extracts the version number of the project (for use in a build pipeline):
defmodule Mix.Tasks.VersionNumber do
...
New
:wave:t3:
I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256
First Questio...
New
I’m working with a team that are running (relatively) old versions of Elixir and Erlang. Last month I added dialyzer, via dialyxir (can n...
New
Im getting this error from dialyzer “The pattern can never match the type.”
Here’s some sample code
@spec check_rating_to_play(any(),...
New
I’m trying to write a @spec for this function that was made by mix phx.gen.auth:
# lib/my_app/identity/user_token.ex
@spec build_sessio...
New
The function call will not succeed.
ExInsights.track_exception(
_ :: %{:__exception__ => true, :__struct__ => atom(), atom() =&g...
New
I am currently facing challenges with the Dialyzer tool while working on two Elixir libraries:
AnyHttp Library: This library offers a ...
New
Trending Over Three Years
The Elixir Typespec docs show the following syntax for keyword lists in typespecs:
# ...
| [key: type] # keyword lis...
New
In the Dialyzer docs ( http://erlang.org/doc/man/dialyzer.html#requesting-or-suppressing-warnings-in-source-files ), there is a way to tu...
New
I’ll be honest, there is a lot about dialyzer output that confuses me.
Right now I’m confused by “The call … will never return since it ...
New
If we have function with typespec that always returns value with incorrect type
@spec hello(integer()) :: map()
def hello(int) do
...
New
I'm trying to fix all dialyzer warnings in quantum for the next big release. There are two errors which I'm not able to solve.
The erro...
New
Background
I am trying dialyxir to find out if it is worth it, however I have a bunch of errors on the compile phase and I want to fix th...
New
Hi
When I use @behaviour and @callback, the functions are defined. I guess that I do not need to use @spec for the implementation of the...
New
I’ve gotten my (10 KLOC) project down to a single Dialyzer error, but I can’t figure this one out. Suggestions?
See this gist for the code.
New
Today I released a new dialyzer Mix task as the dialyzex package! At the time we started writing this task, the existing dialyzer integra...
New
Do you use Dialyzer/Dialyxir in your Elixir projects?
poll
If you only use it in some of them, which ones?
If you don’t use it, why not...
New
I use ElixirLS extension in vscode on Ubuntu 18.04. For now, Go To Definition by ElixirLS works well on non-dependency modules. I was won...
New
NOTE all these questions are related to my use of dialyxir.
Type variables
From the erlang documentation.
Type variables can be used i...
New
I’m confused… when grooming the docs for https://elixir-lang.org/getting-started/typespecs-and-behaviours.html I got the feedback that mu...
New
I have added a type definition for a struct (an Ecto schema actually) with @opaque like this:
@opaque t() :: %__MODULE__{}
I did this s...
New
Background
In a post I made about having static types in Elixir, someone mentioned the tool Gradualizer. This came as a surprise to me, a...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #ash-questions
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #discussion
- #javascript
- #elixirconf
- #library
- #oban-questions
- #dialyzer
- #docker
- #onsite
- #authentication
- #podcasts
- #full-time-contract
- #umbrella
- #code-sync
- #ecto-query
- #phoenix_html
- #iex
- #graphql
- #genstage
- #elixir-ls
- #nerves-questions
- #podcasts-by-brainlid
- #supervisor
- #websockets
- #distillery
- #advent-of-code
- #blog-post
- #livebook-questions
- #processes
- #forms
- #api
- #metaprogramming







