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

Funcky analyzer #397

Merged
merged 32 commits into from
Aug 12, 2021
Merged

Funcky analyzer #397

merged 32 commits into from
Aug 12, 2021

Conversation

FreeApophis
Copy link
Member

@FreeApophis FreeApophis commented Jun 29, 2021

suggest Sequence.Return(x) when code is Enumerable.Repeat(x, 1)
suggest Enumerable.Empty<T>() when code is Enumerable.Repeat(x, 0)

* We want to give a hint for Enumerable.Repeat("value", 1) to replace with Sequence.Return("value")
* And of course: None() -> None in Funcky 3.0
* Tried to implement a fix
* Tried to get the test running
@FreeApophis FreeApophis marked this pull request as draft June 29, 2021 07:33
@FreeApophis FreeApophis linked an issue Jun 29, 2021 that may be closed by this pull request
@FreeApophis FreeApophis marked this pull request as ready for review July 7, 2021 14:36
@FreeApophis FreeApophis enabled auto-merge July 7, 2021 14:37
@FreeApophis FreeApophis requested a review from bash July 7, 2021 14:52
@FreeApophis FreeApophis requested a review from bash August 10, 2021 20:28
@FreeApophis FreeApophis merged commit fd914e8 into main Aug 12, 2021
@FreeApophis FreeApophis deleted the funcky-analyzer branch August 12, 2021 15:04
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.

Create Analyzer for Sequence.Return
2 participants