I’ve written custom IEx helper functions - similar to the built-in helper functions like
Elixir 1.4 gives a warning message with my custom helpers, but not with the built-in helper functions.
How can I suppress the 1.4 warning for my zero-arity helper functions in IEx??
IEx functions also warn:
warning: variable "h" does not exist and is being expanded to "h()", please use parentheses to remove the ambiguity or change the variable name
So this is expected behavior
OMG you are right - how did I miss that??
Does that mean there is no way to suppress zero-arity warning messages in IEx??
I’m generally fine with no bareword functions for code, seems pretty suboptimal in IEx.
Probably the fix is worse than just putting up with it, but I’d say this is a step backwards
in usability and friendliness to newcomers.