We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text below leads to output like this (note the last two lines where a semicolon is inserted and the rest of the implementation wrongly indented):
namespace MBrace.FsPickler [<AutoSerializable(false)>] type internal CompositePickler<'T> = inherit Pickler<'T> private new(reader, writer, cloner, accepter, nested : Pickler option, picklerInfo, ?cacheByRef, ?useWithSubtypes, ?skipHeaderWrite, ?bypass, ?skipVisit, ?isCloneableOnly) = { inherit Pickler<'T>(); m_IsInitialized = true m_NestedPickler = nested
Test function:
let ``inherit call to base class constructor``() = formatSourceString false """namespace MBrace.FsPickler [<AutoSerializable(false)>] type internal CompositePickler<'T> = inherit Pickler<'T> private new(reader, writer, cloner, accepter, nested : Pickler option, picklerInfo, ?cacheByRef, ?useWithSubtypes, ?skipHeaderWrite, ?bypass, ?skipVisit, ?isCloneableOnly) = { inherit Pickler<'T>() m_IsInitialized = true m_NestedPickler = nested m_Writer = writer m_Reader = reader m_Cloner = cloner m_Accepter = accepter m_PicklerInfo = picklerInfo m_IsCacheByRef = match cacheByRef with | Some c -> c || base.IsRecursiveType | None -> base.Kind > Kind.String m_UseWithSubtypes = defaultArg useWithSubtypes false m_SkipHeaderWrite = defaultArg skipHeaderWrite false m_Bypass = defaultArg bypass false m_SkipVisit = defaultArg skipVisit false m_IsCloneableOnly = defaultArg isCloneableOnly false } """ config |> should equal """namespace MBrace.FsPickler [<AutoSerializable(false)>] type internal CompositePickler<'T> = inherit Pickler<'T> private new(reader, writer, cloner, accepter, nested : Pickler option, picklerInfo, ?cacheByRef, ?useWithSubtypes, ?skipHeaderWrite, ?bypass, ?skipVisit, ?isCloneableOnly) = { inherit Pickler<'T>() m_IsInitialized = true m_NestedPickler = nested m_Writer = writer m_Reader = reader m_Cloner = cloner m_Accepter = accepter m_PicklerInfo = picklerInfo m_IsCacheByRef = match cacheByRef with | Some c -> c || base.IsRecursiveType | None -> base.Kind > Kind.String m_UseWithSubtypes = defaultArg useWithSubtypes false m_SkipHeaderWrite = defaultArg skipHeaderWrite false m_Bypass = defaultArg bypass false m_SkipVisit = defaultArg skipVisit false m_IsCloneableOnly = defaultArg isCloneableOnly false } """
The text was updated successfully, but these errors were encountered:
fix fsprojects#326
b7e224b
No branches or pull requests
The text below leads to output like this (note the last two lines where a semicolon is inserted and the rest of the implementation wrongly indented):
Test function:
The text was updated successfully, but these errors were encountered: