This sounds like something which could be discovered with dialyzer. Maybe a rule in a linter (e.g. Credo) could also be helpful.
On Saturday, August 13, 2016 at 3:52:54 PM UTC+2, miwee wrote: > > I recently got bitten by this. I used True/False, thinking them as boolean > values true/false. Got no warning, but code failed. Partly reason is that I > was recently alternating between python and Elixir code base. Python uses > True/False. May be a gentle reminder from elixir compiler, on usage of > True/False could have saved me from this. > > thanks > miwee > -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/1d573e4c-22e9-4849-81ee-e9694458bf75%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.