Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure in Elixir 1.18 rc 0 #223

Closed
nathany-copia opened this issue Dec 11, 2024 · 4 comments
Closed

Compilation failure in Elixir 1.18 rc 0 #223

nathany-copia opened this issue Dec 11, 2024 · 4 comments

Comments

@nathany-copia
Copy link

==> exvcr
Compiling 32 files (.ex)
    error: recursive variable definition in patterns:

    start(arg = arg)

    the variable "arg" is defined in function of itself
    │
 13 │     defstart start(arg), do: initial_state(arg)
    │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    │
    └─ lib/exvcr/actor.ex:13: ExVCR.Actor.Responses.start/1


== Compilation error in file lib/exvcr/actor.ex ==
** (CompileError) lib/exvcr/actor.ex: cannot compile module ExVCR.Actor.Responses (errors have been logged)
    (stdlib 6.2) maps.erl:860: :maps.fold_1/4
    lib/exvcr/actor.ex:13: (module)
@nathany-copia
Copy link
Author

@nathany-copia
Copy link
Author

@thbar
Copy link
Contributor

thbar commented Dec 19, 2024

@nathany-copia I reported this to José here https://x.com/thibaut_barrere/status/1868764765860114627 and I believe he modified the error to become a warning, so I think the compilation should work (unless other issues stack up).

@nathany-copia
Copy link
Author

As it turns out, ExVCR didn’t work in Elixir 1.18 release candidate, but it does work in Elixir 1.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants