jarlah

jarlah

Dialyzer warning from hell: no_return when calling erl_tar.create

Im trying to isolate why i cannot get dialyzer to stop complaining about no_return

https://github.com/jarlah/dialyzer_warning_from_hell/actions/runs/11691499896/job/32558795584

I have tried so much

any help is appreciated even if only a pat on the shoulder.

This is why i like statically and strongly typed languages. You either compile or you don’t.

Marked As Solved

LostKobrakai

LostKobrakai

:write is not an option on :erl_tar.create

Also Liked

LostKobrakai

LostKobrakai

That’s how types work everywhere. Type checkers complain if you pass something not meant to be handled, not if you pass something not able to be handled. Otherwise you couldn’t do anything like an match wildcard or an else statement of an if, because they might handle more cases than the explicitly expected ones.

arcanemachine

arcanemachine

Dialyzer is like the wise old monk that won’t stop hitting me over the head with a stick.

jarlah

jarlah

its more like this :rofl:
Kung Fu Fighting GIF|100%x100%
couldnt find a gif with an old wise monk hitting with his stick :stuck_out_tongue:

Last Post!

dimitarvp

dimitarvp

Close enough.

Where Next?

Popular in Questions Top

vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
dogweather
I wrote this comment on r/haskell, and it’s not popular there. :wink: But I think I’m on to something… Haskell reminds me of Java, and e...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New

We're in Beta

About us Mission Statement