If we are compiling the module, we will load it with the output of its beam file. If the module exists only in memory, :code.which/1 will return `:in_memory`. Closes #2533
If we are compiling the module, we will load it with the output of its beam file. If the module exists only in memory, :code.which/1 will return `:in_memory`. Closes #2533