@@ -1165,26 +1165,6 @@ let AddCheckResultsToTcState
11651165
11661166 ccuSigForFile, tcState
11671167
1168- let AddDummyCheckResultsToTcState
1169- (
1170- tcGlobals ,
1171- amap ,
1172- qualName : QualifiedNameOfFile ,
1173- prefixPathOpt ,
1174- tcSink ,
1175- tcState : TcState ,
1176- tcStateForImplFile : TcState ,
1177- rootSig
1178- ) =
1179- let hadSig = true
1180- let emptyImplFile = CreateEmptyDummyImplFile qualName rootSig
1181- let tcEnvAtEnd = tcStateForImplFile.TcEnvFromImpls
1182-
1183- let ccuSigForFile , tcState =
1184- AddCheckResultsToTcState ( tcGlobals, amap, hadSig, prefixPathOpt, tcSink, tcState.tcsTcImplEnv, qualName, rootSig) tcState
1185-
1186- ( tcEnvAtEnd, EmptyTopAttrs, Some emptyImplFile, ccuSigForFile), tcState
1187-
11881168/// Typecheck a single file (or interactive entry into F# Interactive)
11891169let CheckOneInputAux
11901170 (
@@ -1353,18 +1333,10 @@ let CheckOneInput
13531333
13541334 match partialResult with
13551335 | Choice1Of2 result -> return result, tcState
1356- | Choice2Of2 ( amap, _ conditionalDefines, rootSig, _ priorErrors, file, tcStateForImplFile, _ ccuSigForFile) ->
1357- return
1358- AddDummyCheckResultsToTcState(
1359- tcGlobals,
1360- amap,
1361- file.QualifiedName,
1362- prefixPathOpt,
1363- tcSink,
1364- tcState,
1365- tcStateForImplFile,
1366- rootSig
1367- )
1336+ | Choice2Of2 (_ amap, _ conditionalDefines, rootSig, _ priorErrors, file, tcStateForImplFile, ccuSigForFile) ->
1337+ let emptyImplFile = CreateEmptyDummyImplFile file.QualifiedName rootSig
1338+ let tcEnvAtEnd = tcStateForImplFile.TcEnvFromImpls
1339+ return ( tcEnvAtEnd, EmptyTopAttrs, Some emptyImplFile, ccuSigForFile), tcState
13681340 }
13691341
13701342// Within a file, equip loggers to locally filter w.r.t. scope pragmas in each input
0 commit comments