Skip to content

Transparent Compiler: Fails when signature file is not exactly next to source file #17082

@TheAngryByrd

Description

@TheAngryByrd

Please provide a succinct description of the issue.

Repro steps

Provide the steps required to reproduce the problem:

  1. Create a project with multiple files that don't depend on each other
  2. Use a wildcard to add all the files. see fsautocomplete

Expected behavior

Typechecking completes

Actual behavior

Type checking fails with "Oops!!" exception

Known workarounds

Comment out

if
tcInfo.stateContainsNodes
|> Set.contains (NodeToTypeCheck.PhysicalFile(index + 1))
then
failwith $"Oops!!!"

Related information

Provide any related information (optional):

  • Operating system
  • .NET Runtime kind (.NET Core, .NET Framework, Mono)
  • Editing Tools (e.g. Visual Studio Version, Visual Studio)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions