Skip to content

Unclear error on elixir 0.14.2 #17

@stchris

Description

@stchris

Hi,

I was trying my best to make atlas work on elixir 0.14.2, updating the few deprecated calls, which happened mostly in the 0.14.0 release.

Now it compiles for me, but running the tests results in:

test/persistence_test_helper.exs:4: warning: the guard for this clause evaluates to 'false'
test/persistence_test_helper.exs:19: warning: the guard for this clause evaluates to 'false'
** (CompileError) test/database/client_test.exs:5: undefined function teardown_all/1
    (elixir) src/elixir.erl:195: :elixir.quoted_to_erl/3

I believe the guard-related warnings are the issue (which is why the persistence helper doesn't get compiled), but the line numbers in persistence_test_helper.exs are misleading. They point to modules which extend Atlas.Model, so I'm now quite sure which guard they refer to.

Can anyone point me in the right direction, please? I'd obviously submit a pull request as soon as it works. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions