Kampfkarren / Kampfkarren/selene

Selene mistakes variables as being 'shadowed' in some situations with anonymous functions in events

Open
#116 1 comment 0 reactions 0 assignees View on GitHub
A-lints C-bug
Dominant language
Rust
Stars
815
Forks
104
PR merge metrics
No merged PRs in 30d

Description

Currently (with selene `0.6.0`), selene will mistake an event parameter as being 'shadowed' if an anonymous function is used in an event connection, and a previous event connection uses the same variable name. I was unfortunately not able to get a solid reproduction when I tried reproducing the issue.
![image](https://user-images.githubusercontent.com/26460940/83955682-9d9f3580-a823-11ea-8efc-9f95a38f3fe5.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.