Skip to content

Conversation

@JuanVqz
Copy link
Contributor

@JuanVqz JuanVqz commented Oct 11, 2023

There might be a lot of things broken I'm opening the PR just to have feedback, I hope that is fine.

Fixes #1455

next if condition == BLOCK_GIVEN_CONDITION

result[condition].push(condition.line)
result[method.name].push(condition.line)
Copy link
Contributor Author

@JuanVqz JuanVqz Oct 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is kind of incomplete. I'm not sure which one could be better. @troessner @mvz could you please help me out?

{s(:lvar, :charlie)=>{:bravo=>[4], :delta=>[9], :echo=>[14]}}
{:bravo=>{s(:lvar, :charlie)=>[4]}, :delta=>{s(:lvar, :charlie)=>[9]}, :echo=>{s(:lvar, :charlie)=>[14]}}

I edited the comment, it had a ctrl + c/v error

@JuanVqz JuanVqz force-pushed the fix_repeated_conditional_local_variable_checks branch from b50a544 to e5ba696 Compare October 16, 2023 20:51
@JuanVqz JuanVqz closed this Sep 22, 2024
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.

Repeated Conditional incorrectly reports in case there are local variable checks in different methods

1 participant