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

False positive FreeLetInFunc in presence of inherit #64

Open
mcwitt opened this issue Dec 18, 2021 · 0 comments
Open

False positive FreeLetInFunc in presence of inherit #64

mcwitt opened this issue Dec 18, 2021 · 0 comments

Comments

@mcwitt
Copy link

mcwitt commented Dec 18, 2021

In version 0.2.0.3 (revision 38c4a14681cf3a1e6f098d8b723db503910a28d8), the input

foo:
let inherit (foo) bar;
in bar

results in

Move `let` block outside function definition at foo.nix:1:1-4:1

but the let block can't be moved outside of the function definition since it depends on the argument foo.

Possibly related to #61, #62 ?

@mcwitt mcwitt changed the title False positive FreeLetInFunc in presence of inherit False positive FreeLetInFunc in presence of inherit Dec 18, 2021
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

1 participant