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
if
FOOQueryUserToken (uint32 activeSessionId,&token)<>0u
then
Some x
else
None
Result
if
FOOQueryUserToken
(
uint32 activeSessionId,&token
)<>0u
then
Some x
else
None
Problem description
The if expression in this case is multiline, yet the function call is not and so FOOQueryUserToken (uint32 activeSessionId, &token) should remain on a single line.
Extra information
The formatted result breaks by code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Issue created from fantomas-online
Code
Result
Problem description
The if expression in this case is multiline, yet the function call is not and so
FOOQueryUserToken (uint32 activeSessionId, &token)
should remain on a single line.Extra information
Options
Fantomas Master at 06/28/2021 08:27:00 - 31fc949
Default Fantomas configuration
Did you know that you can ignore files when formatting from fantomas-tool or the FAKE targets by using a .fantomasignore file?
The text was updated successfully, but these errors were encountered: