File tree 1 file changed +2
-2
lines changed
ReSharper.FSharp/src/FSharp.Psi.Services/src/Generate
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ type FSharpGenerateSignatureBuilder() =
86
86
87
87
if Array.isEmpty supportedTypeDeclarations then null else
88
88
89
- let sourceText = supportedTypeDeclarations |> Array.map ( fun info -> info.SourceText) |> String.concat " \n "
89
+ let sourceText = supportedTypeDeclarations |> Array.map ( fun info -> info.SourceText) |> String.concat lineEnding
90
90
let sigTypeDeclarationGroup = factory.CreateModuleMember( sourceText) :?> ITypeDeclarationGroup
91
91
92
92
if isNull sigTypeDeclarationGroup then null else
@@ -187,7 +187,7 @@ type FSharpGenerateSignatureBuilder() =
187
187
188
188
let sigStrings =
189
189
Seq.map sourceString letBindingsDeclaration.Bindings
190
- |> String.concat " \n "
190
+ |> String.concat lineEnding
191
191
192
192
factory.CreateTypeMemberSignature( sigStrings)
193
193
| :? IExceptionDeclaration as exceptionDeclaration ->
You can’t perform that action at this time.
0 commit comments