Skip to content

Commit 41233de

Browse files
authored
Merge pull request #223 from psfinaki/update-fsharp
Update F#
2 parents a310714 + 5fcf1e1 commit 41233de

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

Diff for: FSharp/FSharp.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<ItemGroup>
1919
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.0.0" />
2020
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="2.2.0" />
21-
<PackageReference Include="FSharp.Compiler.Service" Version="41.0.1" />
22-
<PackageReference Include="FSharp.Core" Version="6.0.1" />
21+
<PackageReference Include="FSharp.Compiler.Service" Version="43.8.300" />
22+
<PackageReference Include="FSharp.Core" Version="8.0.300" />
2323
</ItemGroup>
2424
</Project>

Diff for: FSharp/Internal/CustomFileSystem.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void FileDeleteShim(string fileName) {
113113
throw new NotSupportedException();
114114
}
115115

116-
public DirectoryInfo DirectoryCreateShim(string path) {
116+
public string DirectoryCreateShim(string path) {
117117
throw new NotSupportedException();
118118
}
119119

@@ -139,6 +139,10 @@ public IEnumerable<string> EnumerateDirectoriesShim(string path) {
139139
throw new NotSupportedException();
140140
}
141141

142+
public string ChangeExtensionShim(string path, string extension) {
143+
throw new NotImplementedException();
144+
}
145+
142146
public string GetTempPathShim() {
143147
return VirtualTempPath;
144148
}

Diff for: FSharp/Internal/FSharpSession.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Microsoft.CodeAnalysis.Text;
77
using Microsoft.FSharp.Collections;
88
using Microsoft.FSharp.Control;
9+
using Microsoft.FSharp.Core;
910
using Microsoft.IO;
1011
using MirrorSharp.FSharp.Advanced;
1112
using MirrorSharp.Internal;
@@ -54,7 +55,12 @@ RecyclableMemoryStreamManager memoryStreamManager
5455
keepAllBackgroundSymbolUses: false,
5556
enableBackgroundItemKeyStoreAndSemanticClassification: false,
5657
// allows for using signature files to speed up compilation, but mutually exclusive with `keepAssemblyContents`
57-
enablePartialTypeChecking: false
58+
enablePartialTypeChecking: false,
59+
parallelReferenceResolution: false,
60+
captureIdentifiersWhenParsing: false,
61+
documentSource: FSharpOption<DocumentSource>.Some(DocumentSource.FileSystem),
62+
useSyntaxTreeCache: false,
63+
useTransparentCompiler: false
5864
);
5965
// Checker.ImplicitlyStartBackgroundWork = false;
6066
AssemblyReferencePaths = options.AssemblyReferencePaths;

0 commit comments

Comments
 (0)