-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Labels
Description
Steps to reproduce:
- Checkout this branch on ecto: https://github.com/elixir-lang/ecto/compare/mix-compile
mix clean && mix compile- Note that elixir compilation fails, as expected, on this: https://github.com/elixir-lang/ecto/compare/mix-compile#diff-e10170ac8baa40c81319d2956167adcdR83
- The project is now partially compiled, remove the failing line and comment out the line above
mix compile- Compilation will now fail with the following error message:
[snip]
== Compilation failed ==
Compilation failed on the following files:
* lib/ecto/associations.ex is missing module Ecto.Query
* lib/ecto/repo/backend.ex is missing module Ecto.Query
The first failure is shown below...
== Compilation error on file lib/ecto/repo/backend.ex ==
** (CompileError) lib/ecto/repo/backend.ex:11: module Ecto.Query is not loaded and could not be found
[snip]