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
How would the style guide envision the following inherit function calls are formatted?
typeUnhandledWebException=inherit Exception
new(status: WebExceptionStatus, innerException: Exception)={inherit Exception(SPrintF1
"Backend not prepared for this WebException with Status[%i]"(int status),
innerException)}new(info: SerializationInfo, context: StreamingContext)={inherit Exception(info, context)}typeFieldNotFoundException<'T>(obj: 'T,field: string,specLink: string)=inherit SwaggerSchemaParseException(sprintf
"Object MUST contain field `%s` (See %s for more details).\nObject:%A"
field
specLink
obj)
typeUnhandledWebException=inherit Exception
new(status: WebExceptionStatus, innerException: Exception)={inherit
Exception(
SPrintF1 "Backend not prepared for this WebException with Status[%i]"(int status),
innerException
)}new(info: SerializationInfo, context: StreamingContext)={inherit Exception(info, context)}typeFieldNotFoundException<'T>(obj: 'T,field: string,specLink: string)=inherit
SwaggerSchemaParseException(
sprintf
"Object MUST contain field `%s` (See %s for more details).\nObject:%A"
field
specLink
obj
)
?
Adding the extra indent and new line after inherit would allow for the "indentation flow" to be preserved.
Thoughts?
The text was updated successfully, but these errors were encountered:
How would the style guide envision the following
inherit
function calls are formatted?Should the expressions after the
inherit
follow the same rules as https://docs.microsoft.com/en-us/dotnet/fsharp/style-guide/formatting#formatting-application-expressions?Something like
?
Adding the extra indent and new line after
inherit
would allow for the "indentation flow" to be preserved.Thoughts?
The text was updated successfully, but these errors were encountered: