On Sunday, December 4, 2016 at 12:11:06 PM UTC-6, José Valim wrote: > > > could we at least not warn if the ambiguity can be resolved at compile > time—if there’s a function/0 available with the given name, just compile it > as a call and move on? > > That's exactly the behaviour we had before. After all, if you do not have > a variable nor a function name, it wouldn't compile with reason no variable > or function named x. >
yup :) Is it possible to detect if a variable shadows a function, and warn in that case? I really, really, REALLY don't want to write v() in iex... :) Dave -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/13bf8e97-2722-4f2d-8740-913d7e2853d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
