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
// check for matchif nargTs <> haveArgTs.Length thenfalse(* method argument length mismatch *)elseif// If a known-number-of-arguments-including-object-argument has been given then check that(match knownArgCount with| ValueNone ->false| ValueSome n -> n <>(if methInfo.IsStatic then0else1)+ nargTs)thenfalseelseletres= typesEqual (resT :: argTs)(haveResT :: haveArgTs)
res
Reformatted code
// check for matchif nargTs <> haveArgTs.Length thenfalse(* method argument length mismatch *)elseif// If a known-number-of-arguments-including-object-argument has been given then check that(match knownArgCount with| ValueNone ->false| ValueSome n -> n <>(if methInfo.IsStatic then0else1)+ nargTs)thenfalseelseletres= typesEqual (resT :: argTs)(haveResT :: haveArgTs)
res
Problem description
Interesting to see where the duplicate newline came from.
Definitely related to the changes of #2663.
Extra information
The formatted result breaks my code.
The formatted result gives compiler warnings.
I or my company would be willing to help fix this.
Options
Fantomas main branch at 2023-01-25T22:29:00Z - 646d19d
{ config with
KeepMaxNumberOfBlankLines =1}
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:
Issue created from fantomas-online
Formatted code
Reformatted code
Problem description
Interesting to see where the duplicate newline came from.
Definitely related to the changes of #2663.
Extra information
Options
Fantomas main branch at 2023-01-25T22:29:00Z - 646d19d
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: