@@ -3007,7 +3007,7 @@ type FsiInteractiveChecker(referenceResolver, reactorOps: IReactorOperations, tc
30073007
30083008 member __.ParseAndCheckInteraction ( source ) =
30093009
3010- let mainInputFileName = " stdin.fsx"
3010+ let mainInputFileName = Path.Combine ( tcConfig.implicitIncludeDir , " stdin.fsx" )
30113011 // Note: projectSourceFiles is only used to compute isLastCompiland, and is ignored if Build.IsScript(mainInputFileName) is true (which it is in this case).
30123012 let projectSourceFiles = [ ]
30133013 let parseErrors , _matchPairs , inputOpt , anyErrors = Parser.ParseOneFile ( source, false , true , mainInputFileName, projectSourceFiles, tcConfig)
@@ -3018,7 +3018,7 @@ type FsiInteractiveChecker(referenceResolver, reactorOps: IReactorOperations, tc
30183018 let fsiCompilerOptions = CompileOptions.GetCoreFsiCompilerOptions tcConfigB
30193019 CompileOptions.ParseCompilerOptions ( ignore, fsiCompilerOptions, [ ])
30203020
3021- let loadClosure = LoadClosure.ComputeClosureOfSourceText( referenceResolver, mainInputFileName, source, CodeContext.Editing, tcConfig.useSimpleResolution, tcConfig.useFsiAuxLib, new Lexhelp.LexResourceManager(), applyCompilerOptions)
3021+ let loadClosure = LoadClosure.ComputeClosureOfSourceText( referenceResolver, mainInputFileName, source, CodeContext.Editing, tcConfig.useSimpleResolution, tcConfig.useFsiAuxLib, new Lexhelp.LexResourceManager(), applyCompilerOptions)
30223022 let backgroundErrors = []
30233023 let tcErrors , tcFileResult =
30243024 Parser.TypeCheckOneFile( parseResults, source, mainInputFileName, " project" , tcConfig, tcGlobals, tcImports, tcState,
0 commit comments