Uh oh!
There was an error while loading. Please reload this page.
RFC FS-1108 - Allow more undentations and remove inconsistencies - #11772
Conversation
Happypig375
commented
Jul 2, 2021
auduchinok
commented
Jul 2, 2021
Happypig375
commented
Jul 2, 2021
@auduchinok I haven't included fsharp/fslang-suggestions#514 in here, which your case belongs to. Not sure if I can fix attribute indentation just as easily with the others. |
I can't run FSharpQA locally because Perl is complaining about Win32::Process not being installed and there is no instructions on how to deal with this error, while trying to use StrawberryPerl's bundled cpanm to install Win32::Process tells me that ExtUtils::Manifest must be installed first, and it cannot be installed because I need... ExtUtils::Manifest? I can't resolve this circular reference. |
dsyme
commented
Jul 5, 2021
@Happypig375 I'll go through the suggestions and check the approvals. Best to keep to the approved suggestions to avoid having to factor out the unapproved ones? |
Happypig375
commented
Jul 5, 2021
@dsyme As written in the draft RFC, this tries to be a general fix to a lot of suggestions with the same underlying cause. Implementing the suggestions one by one by introducing special cases after special cases just introduce more inconsistency. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
dsyme
commented
Jul 6, 2021
The changes look plausible - please keep them minimal as we would want to check this very carefully The RFC spec also looks plausible, I'll comment there seperately |
nojaf
commented
Jul 28, 2021
I've played around with this and was able to verify all my samples that used to produce warnings. |
dsyme
left a comment
There was a problem hiding this comment.
Marking as approved, as just two minor test cases need to be added (though I think they may actually already be under test)
dsyme
left a comment
There was a problem hiding this comment.
Some changes are needed, I've identified a failing scenario
@Happypig375 I put this in and the compilation fails The problem can be reduced to this: beginmatch1with|1->()|2->
f()endThanks (It's possible we'd think that this shouldn't be allowed, but it is) |
dsyme
commented
Aug 1, 2021
@Happypig375 Can you fix this one? #11772 (comment) thanks |
Happypig375
commented
Aug 1, 2021
Will come back a few days later, I'm busy now |
Happypig375
commented
Aug 8, 2021
I'm back |
Happypig375
commented
Aug 8, 2021
@dsyme Fixed |
Uh oh!
There was an error while loading. Please reload this page.
dsyme
left a comment
There was a problem hiding this comment.
Thank you for addressing the last remaining items
goswinr
commented
Aug 11, 2021
Thanks for this work, will this produce a warning for this quirk? Given this this operator for evaluation of side effects in pipelines let inline(|>!)a f = f a ; a and this code snippet if1=1then"same"else"different"|>! printfn "The numbers are %s."|> printfn "Yes, they are %s."This never prints |
Happypig375
commented
Aug 11, 2021
This PR does not add additional warnings. |
goswinr
commented
Aug 11, 2021
Thanks for clarification @Happypig375, I guess my desired warning is tracked in fsharp/fslang-suggestions#806 |

RFC Allow more undentations and remove inconsistencies