Skip to content

Some syntax tree tests fail in Debug #15908

@auduchinok

Description

@auduchinok

#15343 introduced test failures when using Debug solution configuration:

Screenshot 2023-08-31 at 17 54 12
System.AggregateException : One or more errors occurred. (One or more errors occurred. (Unknown exception seen in compiler: JetBrains.ReSharper.TestRunner.Logging.TraceListener+AssertionException: Unknown exception seen in compiler: JetBrains.ReSharper.TestRunner.Logging.TraceListener+AssertionException: Unexpected exception raised in compiler: value does not have a valid member type
FSharp.Compiler.DiagnosticsLogger+InternalError: value does not have a valid member type(5,8--5,9)

   at [email protected](CancellationToken ct) in C:\Developer\fsharp-main-5\src\Compiler\Driver\ParseAndCheckInputs.fs:line 1346
   at [email protected](CancellationToken ct)

   at FSharp.Compiler.CodeAnalysis.ParseAndCheckFile.CheckOneFile@2690-6.Invoke(CancellationToken ct) in C:\Developer\fsharp-main-5\src\Compiler\Service\FSharpCheckerResults.fs:line 2693
   at FSharp.Compiler.CodeAnalysis.ParseAndCheckFile.CheckOneFile@2680-8.Invoke(CancellationToken ct)
))

cc @T-Gro Could you please take a look?

I really wonder, why doesn't it fail in Release? Why doesn't it fail on CI?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

New

Relationships

None yet

Development

No branches or pull requests

Issue actions