Skip to content

Instantly share code, notes, and snippets.

View dsyme's full-sized avatar

Don Syme dsyme

View GitHub Profile
@dsyme
dsyme / gist:0f3c6e5ac3d9f5e2d723
Last active March 1, 2016 16:06
struct tuples
open System
let run() =
for i in 0 .. 10 do
let size = 10000000
GC.Collect()
let watch = Diagnostics.Stopwatch.StartNew()
let mutable arrTuple = Array.init size (fun i -> (i,i))
arrTuple <- [|(0,0)|]
source https://www.myget.org/F/dotnet-core/api/v3/index.json
source https://api.nuget.org/v3/index.json
source https://www.nuget.org/api/v2/
nuget Microsoft.NETCore.Platforms 1.0.1-rc2-23911
nuget NETStandard.Library 1.5.0-rc2-23911
nuget System.Collections.Immutable 1.2.0-rc2-23911
nuget System.Diagnostics.Process 4.1.0-rc2-23911
nuget System.Diagnostics.TraceSource 4.0.0-rc2-23911
C:\misc\repro-54>.paket\paket.exe update
Paket version 2.60.2.0
Resolving packages for group Main:
- System.Diagnostics.Process is pinned to 4.1.0-rc2-23911
- System.Reflection.TypeExtensions is pinned to 4.1.0-rc2-23911
- System.Runtime.InteropServices is pinned to 4.1.0-rc2-23911
- System.Security.Cryptography.Algorithms is pinned to 4.1.0-rc2-23911
- System.Linq.Expressions is pinned to 4.0.11-rc2-23911
- System.Net.Requests is pinned to 4.0.11-rc2-23911
- System.Threading.ThreadPool is pinned to 4.0.10-rc2-23911
1) Failed : Tests.LanguageService.GotoDefinition.UsingMSBuild.GotoDefinition.Simple.Datatype.UnitTypeTypenameDef
Expected string length 21 but was 14. Strings differ at index 0.
Expected: "type One = (*loc-16*)"
But was: "One (*loc-15*)"
-----------^
at Tests.LanguageService.GotoDefinition.UsingMSBuild.GotoDefinitionCheckResultAgainst(FSharpOption`1 exp, OpenFile file, GotoDefinitionResult act) in D:\j\workspace\release_ci_pa---3f142ccc\vsintegration\tests\unittests\Tests.LanguageService.GotoDefinition.fs:line 516
2) Failed : Tests.LanguageService.GotoDefinition.UsingMSBuild.OnTypeDefintion
Expected to find the definition of 'One' but GotoDefn failed.
at Salsa.VsOpsUtils.CheckGotoDefnResult(FSharpOption`1 expected, OpenFile file, GotoDefinitionResult actual) in D:\j\workspace\release_ci_pa---3f142ccc\vsintegration\tests\Salsa\SalsaUtils.fs:line 333
interface IDispatchable =
member dispatch: string
type A =
...
interface IDispatchable with
member self.dispatch = "Goodbye, World!"
type B =
...
Errors and Failures
1) Error : FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that csharp references are recognized as such
System.IO.FileLoadException : Could not load file or assembly 'CSharp_Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
at FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that csharp references are recognized as such()
2) Error : FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that symbols of csharp inner classes/enums are reported
System.IO.FileLoadException : Could not load file or assembly 'CSharp_Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
at FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that symbols of csharp inner classes/enums are reported()
Errors and Failures
1) Error : FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that csharp references are recognized as such
System.IO.FileLoadException : Could not load file or assembly 'CSharp_Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
at FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that csharp references are recognized as such()
2) Error : FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that symbols of csharp inner classes/enums are reported
System.IO.FileLoadException : Could not load file or assembly 'CSharp_Analysis, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)
at FSharp.Compiler.Service.Tests.CSharpProjectAnalysis.Test that symbols of csharp inner classes/enums are reported()
SetupNewTextView.SetupProjectFile.UpdateProjectInfo(isRefresh=false).InvalidateConfiguration (C:\GitHub\dsyme\visualfsharp\src\fsharp\FSharp.Compiler\FSharp.Compiler.fsproj), length 0
devenv.exe Information: 0 : Reactor: --> SetupNewTextView.SetupProjectFile.UpdateProjectInfo(isRefresh=false).InvalidateConfiguration (C:\GitHub\dsyme\visualfsharp\src\fsharp\FSharp.Compiler\FSharp.Compiler.fsproj), remaining 0
devenv.exe Information: 0 : Reactor: enqueue start background, length 0
devenv.exe Information: 0 : Reactor: <-- SetupNewTextView.SetupProjectFile.UpdateProjectInfo(isRefresh=false).InvalidateConfiguration, took 2.2371 ms
devenv.exe Information: 0 : Reactor: enqueue SetupNewTextView.SetupProjectFile.SyncProject.UpdateProjectInfo(isRefresh=false).InvalidateConfiguration (C:\GitHub\dsyme\visualfsharp\src\fsharp\FSharp.Compiler\FSharp.Compiler.fsproj), length 0
devenv.exe Information: 0 : Reactor: --> SetupNewTextView.SetupProjectFile.SyncProject.UpdateProjectInfo(isRefresh=false).InvalidateConfiguration (C:
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.Platform.AppDomainManager.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'devenv.exe' (CLR v4.0.30319: DefaultDomain): Loaded 'C:\windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugge
devenv.exe Information: 0 : Reactor: 72,695.404 enqueue QuickInfo.ParseAndCheckFileInProject (C:\GitHub\dsyme\visualfsharp\src\fsharp\CheckFormatStrings.fs), length 2
devenv.exe Information: 0 : Requesting Roslyn reanalysis of (DocumentId, #854a49f8-2565-4997-a5a7-ec491c475107 - C:\GitHub\dsyme\visualfsharp\src\fsharp\FSharp.Compiler.Private\obj\net40\FSComp.fs)
devenv.exe Information: 0 : Reactor: 72,695.958 enqueue QuickInfo.ParseAndCheckFileInProject (C:\GitHub\dsyme\visualfsharp\src\fsharp\CheckFormatStrings.fs), length 3
devenv.exe Information: 0 : Reactor: 72,696.301 enqueue DocumentHighlights.ParseAndCheckFileInProject (C:\GitHub\dsyme\visualfsharp\src\fsharp\CheckFormatStrings.fs), length 4
devenv.exe Information: 0 : Reactor: 72,696.793 enqueue QuickInfo.ParseAndCheckFileInProject (C:\GitHub\dsyme\visualfsharp\src\fsharp\CheckFormatStrings.fs), length 5
devenv.exe Information: 0 : Requesting Roslyn reanalysis of (DocumentId, #570ce9c6-5296-4d59-a785-43826a54d991 - C:\GitHub\dsyme\visualfsharp\src\fsh