Purge and delete modules if after_compile/2 callback fails#15220
Purge and delete modules if after_compile/2 callback fails#15220sabiwara merged 1 commit intoelixir-lang:mainfrom
Conversation
9374cc6 to
026d7e7
Compare
|
At some point it was explained to me that after_verify callbacks must not raise errors/crash. Does this make that not a problem anymore? |
|
I remember this was discussed at some point indeed... perhaps the issue is to fix |
Yes! Or make it warn. |
|
Sorry, I just realized this is about |
|
Indeed I made a mistake in the description, apologies for the confusion. I realized the same thing after going back to the
|
|
Sorry I merged after renaming the PR, but the commit still got merged with the wrong commit message 😢 |
This probably doesn't have an impact in regular use cases, but it should fix the following gotcha in Livebook: livebook-dev/livebook#3162.
I'm not sure if I'm missing any case where we might want to keep a module for which the callback failed.