Hello,
I think it would be nice that when running
IEx could be started even in the presence of modules with compilation errors, by loading only the modules with no errors.
Elixir would start IEx with only the modules that it could compile. Then, calling a compiled module would work as usual, but calling a module that could not compile would generate the typical "UndefinedFunctionError ... (module ... is not available)".
During compilation Elixir would delete the ".beam" file for the modules that could not compile, so they would not be loaded, thus generating the previous error if they are called (perhaps this deletion step is already done by the compiler, I don't know).
I think this feature has the virtue to reduce friction in the development workflow, by not forcing the developer to fix modules that won't be called in the IEx session.
Do you think this would be useful ?
Thanks
Mário Guimarães