Environment
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.4.2
- Operating system: OS X El Capitan
Current behavior
- Duplicate a module
- Remove the methods from the duplication but keep the module name
- Run
mix test, it will find the duplication without the method and complain that the methods don't exist
- Delete the duplication of the module
- Run
mix test, it doesn’t find original module anymore and still complaining that it can't find the method
I assume there are some leftover .beam files floating about… and it doesn't pick up that there is another original module to compile now
To solve this problem I had to:
- rename the original module
- save
- rename it to its original name
- save
after that the compilation work
Expected behavior
To not loose track of the existing module if they still exist?
Environment
Erlang/OTP 19 [erts-8.3] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.4.2
Current behavior
mix test, it will find the duplication without the method and complain that the methods don't existmix test, it doesn’t find original module anymore and still complaining that it can't find the methodI assume there are some leftover .beam files floating about… and it doesn't pick up that there is another original module to compile now
To solve this problem I had to:
after that the compilation work
Expected behavior
To not loose track of the existing module if they still exist?