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

Remove variable name clause for check that can't compile #1112

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

novaugust
Copy link
Contributor

@novaugust novaugust commented Jan 17, 2024

This clause helped a test pass, but the test is made of code that can't compile

Interactive Elixir (1.15.7) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> defmodule CredoSampleModule do
...(1)>       def some_function(param, p2, p3) do
...(1)>         [someValue + v2 + v3 | {someValue} <- param, v2 <- p2, v3 <- p3]
...(1)>       end
...(1)>     end
error: misplaced operator |/2

@rrrene rrrene merged commit d990e28 into rrrene:master Jan 17, 2024
14 of 16 checks passed
@novaugust novaugust deleted the me/remove-invalid-ast-check branch January 18, 2024 01:08
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

Successfully merging this pull request may close these issues.

2 participants