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

Warn if some value is unused #414

Open
TysonMN opened this issue Jul 18, 2022 · 2 comments
Open

Warn if some value is unused #414

TysonMN opened this issue Jul 18, 2022 · 2 comments

Comments

@TysonMN
Copy link
Member

TysonMN commented Jul 18, 2022

There is a bug in F# that prevents this project from turning on warnings for unused values.

  property {
    let! i = Gen.alpha // The value 'i' is reported as unused
    where true
    return i = i
  }
@TysonMN
Copy link
Member Author

TysonMN commented Jul 18, 2022

Blocked by F# bug dotnet/fsharp#10167

@cmeeren
Copy link
Contributor

cmeeren commented Nov 5, 2022

I guess you could rename i to _i to work around it.

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