You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
moduleWeb3ServerSeedList =letMaybeRethrow(ex:Exception):unit =letrpcResponseExOpt=
FSharpUtil.FindException<RpcResponseException>
ex
match rpcResponseExOpt with| Some rpcResponseEx ->if rpcResponseEx.RpcError <>nullthenif(not(rpcResponseEx.RpcError.Message.Contains "pruning=archive"))&&(not(rpcResponseEx.RpcError.Message.Contains "header not found"))&&(not(rpcResponseEx.RpcError.Message.Contains "missing trie node"))then
raise UnexpectedRpcResponseError
|_->()
Result
moduleWeb3ServerSeedList =letMaybeRethrow(ex:Exception):unit =letrpcResponseExOpt=
FSharpUtil.FindException<RpcResponseException> ex
match rpcResponseExOpt with| Some rpcResponseEx ->if rpcResponseEx.RpcError <>nullthenif(not(
rpcResponseEx.RpcError.Message.Contains "pruning=archive"))&&(not(
rpcResponseEx.RpcError.Message.Contains
"header not found"))&&(not(
rpcResponseEx.RpcError.Message.Contains
"missing trie node"))then
raise UnexpectedRpcResponseError
|_->()
Problem description
F# compiler yields warnings after formatting with fantomas. However, I'm unsure about what the expected results should be (that would make no compiler warnings), please help.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
[maybe] I or my company would be willing to help fix this.
Hmm, this is a tricky one.
I feel like it is time I solve fsprojects/fantomas-tools#137 first.
And have a better insight on where warnings and errors occur in the online tool.
I think the first rpcResponseEx.RpcError should be further indented but that is speculation at this point.
knocte
added a commit
to nblockchain/geewallet
that referenced
this issue
Jan 27, 2021
Issue created from fantomas-online
Code
Result
Problem description
F# compiler yields warnings after formatting with fantomas. However, I'm unsure about what the expected results should be (that would make no compiler warnings), please help.
Extra information
Options
Fantomas Master at 01/23/2021 17:11:48 - 6d75fff
The text was updated successfully, but these errors were encountered: