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

Add braces when dealing with a lazy keyword. #348

Merged
merged 3 commits into from
Oct 31, 2018

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Oct 31, 2018

Should fix #335.
Does always wrap lazy values with ( ). I am ok with this, not sure if always correct.

@jindraivanek
Copy link
Contributor

Added handling cases of multiline expr after lazy

let v = // <- Lazy "1"
    lazy
        1
        |> id
        |> string

@jindraivanek jindraivanek merged commit dd1457c into fsprojects:master Oct 31, 2018
@nojaf nojaf deleted the lazy-fix branch November 23, 2018 14:47
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.

Lazy<'T> is incorrectly rewritten
2 participants