-
Notifications
You must be signed in to change notification settings - Fork 833
Labels
Description
Recently started showing up.
For example:
Failed EmittedIL.Structure.ModuleArity01_fs(compilation: File: ModuleArity01.fs) [1 s]
Error Message:
System.Exception : Mismatch in Errors, expected '0', got '1'.
All errors:
[(Error 193, Line 136, Col 7, Line 136, Col 33, "Type constraint mismatch. The type
'Type'
is not compatible with type
'MemberInfo'
")]
Stack Trace:
at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1448.Invoke(String message)
at Microsoft.FSharp.Core.PrintfModule.gprintf[a,TState,TResidue,TResult,TPrinter](FSharpFunc`2 envf, PrintfFormat`4 format) in D:\a\_work\1\s\src\FSharp.Core\printf.fs:line 1398
at FSharp.Test.CompilerAssertHelpers.assertErrors(Int32 libAdjust, Boolean ignoreWarnings, FSharpDiagnostic[] errors, Tuple`4[] expectedErrors) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\CompilerAssert.fs:line 503
at [email protected](Tuple`2 tupledArg) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\CompilerAssert.fs:line 576
at Microsoft.FSharp.Primitives.Basics.List.map[T,TResult](FSharpFunc`2 mapping, FSharpList`1 x) in D:\a\_work\1\s\src\FSharp.Core\local.fs:line 247
at FSharp.Test.CompilerAssertHelpers.evaluateReferences(DirectoryInfo outputDir, Boolean ignoreWarnings, Compilation cmpl) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\CompilerAssert.fs:line 573
at FSharp.Test.CompilerAssertHelpers.compileCompilationAux(DirectoryInfo outputDirectory, Boolean ignoreWarnings, Compilation cmpl) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\CompilerAssert.fs:line 534
at FSharp.Test.Compiler.compileFSharpCompilation(Compilation compilation, Boolean ignoreWarnings, CompilationUnit cUnit) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\Compiler.fs:line 828
at [email protected](CompilationUnit x)
at EmittedIL.Structure.verifyExecution(CompilationUnit compilation) in D:\a\_work\1\s\tests\FSharp.Compiler.ComponentTests\EmittedIL\Structure\Structure.fs:line 31
at EmittedIL.Structure.ModuleArity01_fs(CompilationHelper compilation) in D:\a\_work\1\s\tests\FSharp.Compiler.ComponentTests\EmittedIL\Structure\Structure.fs:line 182
Possibly it is because of reusing the checker while the same generated filename "test.fs" shows up in multiple tests?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done