Open NobbZ opened 3 weeks ago
Can you please try main? There have been fixes here.
Sorry, it took a while, as with f2d8064121397d3d628defc762d966fbea71fc42 our project doesn't compile with a weird error. I will bisect that properly later and hopefully create a reproducer.
809971a69065ce1c14c0a63f16caa4085163b0cb built the project and there the reported issue still exists.
Can you report the weird error in main?
@josevalim Yes, though I have to do some more research and provide a reproducer. I can not hand out or publish the actually failing to build code.
I reported #13948 and fixed our code to build again.
After that, I can confirm, that f2d8064121397d3d628defc762d966fbea71fc42 has the same dialyzer error.
@NobbZ Thank you for confirming, unfortunately I couldn't manage to reproduce it on my end. Could you please provide the specs and types of all functions being passed? (or ideally, provide a self-contained repro with simpler functions/types, if possible).
The code is in a business repo. And I can't share it in fully.
Also I can't allot much more time during working hours for this issue.
I still will see if I can create a reproducer during the next weekend. Sorry for the resulting delay.
Elixir and Erlang/OTP versions
I bisected this issue to 0b95ca45c2c81213a9469dff9fa516f3c7b708c1.
Operating system
Linux
Current behavior
The code as follows produces a dialyzer error:
E.stop/6
has a type that I can simplify to:ok | {:ok, any()} | {:error, any()}
and actual:error
returns have been observed in the running code.Expected behavior
No dialyzer warning as on Elixir 1.16.