Skip to content

Commit e6e04ac

Browse files
dsymeDon Syme
andauthored
fix regression 11176 (#11177)
Co-authored-by: Don Syme <[email protected]>
1 parent 5139ba5 commit e6e04ac

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/fsharp/service/IncrementalBuild.fs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,17 @@ module IncrementalBuildSyntaxTree =
114114
let canSkip = sigNameOpt.IsSome && FSharpImplFileSuffixes |> List.exists (Filename.checkSuffix lower)
115115
let input =
116116
if canSkip then
117-
EmptyParsedInput(filename, isLastCompiland)
117+
ParsedInput.ImplFile(
118+
ParsedImplFileInput(
119+
filename,
120+
false,
121+
sigNameOpt.Value,
122+
[],
123+
[],
124+
[],
125+
isLastCompiland
126+
)
127+
)
118128
else
119129
ParseOneInputFile(tcConfig, lexResourceManager, [], filename, isLastCompiland, errorLogger, (*retryLocked*)true)
120130

0 commit comments

Comments
 (0)