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

Pathex does not compile with elixir 1.14.0-rc0 #18

Closed
ltd opened this issue Aug 2, 2022 · 2 comments
Closed

Pathex does not compile with elixir 1.14.0-rc0 #18

ltd opened this issue Aug 2, 2022 · 2 comments

Comments

@ltd
Copy link

ltd commented Aug 2, 2022

== Compilation error in file lib/pathex/accessibility.ex ==
** (ArgumentError) cannot pipe value into function.()
|> case do
{:ok, value} -> value
:error -> throw(:path_not_found)
end, the :|> operator can only take two arguments
(elixir 1.14.0-rc.0) lib/macro.ex:323: Macro.pipe/3
(elixir 1.14.0-rc.0) expanding macro: Kernel.|>/2
lib/pathex/accessibility.ex:144: Pathex.Accessibility.from_list/2
(elixir 1.14.0-rc.0) expanding macro: Kernel.|>/2
lib/pathex/accessibility.ex:144: Pathex.Accessibility.from_list/2
expanding macro: Pathex.path/2
lib/pathex/accessibility.ex:144: Pathex.Accessibility.from_list/2

great library, this could be elixir issue

@hissssst
Copy link
Owner

hissssst commented Aug 6, 2022

Let's see how this error will behave in next candidate versions. Meanwhile, you can use 2.1 version of Pathex

@ltd
Copy link
Author

ltd commented Aug 16, 2022

Good news, no compile error with 1.14.0-rc1.

@ltd ltd closed this as completed Aug 16, 2022
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