Latest #dialyzer Threads Top

matt-savvy
Now that the compiler is giving us some reporting about type mismatches, I’m wondering about people’s use of Dialyzer. For anyone on Eli...
New
ChaseGilliam
Hello everyone, I’m finally happy enough with my library Assay to share it here. Assay is an incremental Dialyzer wrapper built for CI a...
New
e.fu
dialyzer_json dialyzer_json is an Elixir library that runs Dialyzer and emits its warnings as structured JSON, enriched with metadata an...
New
dmarcoux
Hi, I started contributing to a project where the CI checks for Dialyzer warnings. There is this code where I inverted the condition and...
New
GES233
Hi everyone, I’m currently building QyCore, a lightweight open-source DAG task scheduler and execution engine written in Elixir. The ori...
New
ChaseGilliam
I’m working on bringing incremental support from DIalyzer released in OTP 26 into Dialyxir. The preliminary results on a large umbrella a...
New
hez
With this code under OTP 27 dialyzer ran cleanly: defmodule Test do @base_uribase_uri URI.new!(“`https://google.ca`”) def our_base ...
New
honungsburk
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
warmwaffles
We have a rather large code base ~2200 elixir files and growing. On my nice Ryzen 9, it takes ~47 seconds to analyze the generated PLT fi...
New
bgoosman
Can anyone explain this error to me? From my POV, SightxrApi.Job.ParseDocumentsWorkflow.Options is right there :).
New

This Week's Trending Top

This Month's Trending Top

hez
With this code under OTP 27 dialyzer ran cleanly: defmodule Test do @base_uribase_uri URI.new!(“`https://google.ca`”) def our_base ...
New
ChaseGilliam
Hello everyone, I’m finally happy enough with my library Assay to share it here. Assay is an incremental Dialyzer wrapper built for CI a...
New

This Year's Trending Top

yawaramin
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
robbplo
I ran into this issue the other day and it’s been bugging me ever since. Below is a basic behaviour/implementation, and function which re...
New
matt-savvy
Now that the compiler is giving us some reporting about type mismatches, I’m wondering about people’s use of Dialyzer. For anyone on Eli...
New
ChaseGilliam
I’m working on bringing incremental support from DIalyzer released in OTP 26 into Dialyxir. The preliminary results on a large umbrella a...
New
GES233
Hi everyone, I’m currently building QyCore, a lightweight open-source DAG task scheduler and execution engine written in Elixir. The ori...
New
dmarcoux
Hi, I started contributing to a project where the CI checks for Dialyzer warnings. There is this code where I inverted the condition and...
New
honungsburk
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
e.fu
dialyzer_json dialyzer_json is an Elixir library that runs Dialyzer and emits its warnings as structured JSON, enriched with metadata an...
New

Last Three Year's Trending Top

lok0613
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
Qqwy
TypeCheck: Fast and flexible runtime type-checking for your Elixir projects. Core ideas Type- and function specifications are const...
336 14302 100
New
tielur
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
zachdaniel
I was hoping I could get something like this working: defmodule FooRegistry do @foos [ FirstFoo, SecondFoo, ThirdFoo ]...
New
brainlid
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
chrisdel101
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
l3nz
I have a function where I do: def recomputeCapacity(%MapSet{} = mCallIds) do cu = mCallIds |> MapSet.to_list() And D...
New
Rich_Morin
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
ijdickinson
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
brandynbennett
Here’s a repo with an example GitHub - brandynbennett/dialyzer_polyn_issue I’ve made a library called “polyn” and am trying to include i...
New
iamacube
:wave:t3: I want to understand the reason of constructing an improper list usage in the elixir-plug repository, Line 256 First Questio...
New
paulanthonywilson
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
leandroluk
I created a project using the command: mix phx.new elixir_api \ --no-assets \ --no-dashboard \ --no-ecto \ --no-gettext \ --no...
New
joshua.aug
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
terenceponce
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

Trending Over Three Years Top

saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
Fl4m3Ph03n1x
Background This question comes mainly from my ignorance. Today is Black Friday, one of my favorite days of the year to buy books. One boo...
New
tosbourn
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
tim2CF
If we have function with typespec that always returns value with incorrect type @spec hello(integer()) :: map() def hello(int) do ...
New
maennchen
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
Fl4m3Ph03n1x
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
paseg
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
Rich_Morin
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
AstonJ
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
seancribbs
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
syukronrm
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
Crowdhailer
NOTE all these questions are related to my use of dialyxir. Type variables From the erlang documentation. Type variables can be used i...
New
fireproofsocks
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
vfsoraki
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
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement