Skip to content

Commit 8653ab3

Browse files
Comments out signature file adjacency check in TransparentCompiler (#17085)
#17082 Co-authored-by: Petr <psfinaki@users.noreply.github.com>
1 parent f68d7b6 commit 8653ab3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

docs/release-notes/.FSharp.Compiler.Service/8.0.300.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* Obsolete attribute is ignored in constructor property assignment ([PR #16900](https://github.com/dotnet/fsharp/pull/16900))
3232
* Completion: fix completion in empty dot lambda prefix ([#16829](https://github.com/dotnet/fsharp/pull/16829))
3333
* Fix StackOverflow when checking non-recursive bindings in module or namespace in `fscAnyCpu`/`fsiAnyCpu`. ([PR #16908](https://github.com/dotnet/fsharp/pull/16908))
34+
* Removes signature file adjacency check in Transparent Compiler [Issue #17082](https://github.com/dotnet/fsharp/issues/17082) [PR #17085](https://github.com/dotnet/fsharp/pull/17085)
3435

3536
### Added
3637

src/Compiler/Service/TransparentCompiler.fs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,11 +1415,11 @@ type internal TransparentCompiler
14151415
if tcInfo.stateContainsNodes |> Set.contains fileNode then
14161416
failwith $"Oops!"
14171417

1418-
if
1419-
tcInfo.stateContainsNodes
1420-
|> Set.contains (NodeToTypeCheck.PhysicalFile(index + 1))
1421-
then
1422-
failwith $"Oops!!!"
1418+
// if
1419+
// tcInfo.stateContainsNodes
1420+
// |> Set.contains (NodeToTypeCheck.PhysicalFile(index + 1))
1421+
// then
1422+
// failwith $"Oops!!!"
14231423

14241424
let parsedInput = projectSnapshot.SourceFiles[index].ParsedInput
14251425
let prefixPathOpt = None

0 commit comments

Comments
 (0)