File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2224,12 +2224,10 @@ type internal FsiDynamicCompiler
22242224 inputs
22252225 ))
22262226
2227- // typeCheckOnly: check for errors after type-checking
2228- // Always abort on errors (for both loaded files and main script)
2229- diagnosticsLogger.AbortOnError( fsiConsoleOutput)
2230-
2231- // typeCheckOnly: skip code generation and execution
2227+ // typeCheckOnly: check for errors and skip code generation
22322228 if tcConfig.typeCheckOnly then
2229+ // Always abort on errors (for both loaded files and main script)
2230+ diagnosticsLogger.AbortOnError( fsiConsoleOutput)
22332231 // Update state with type-checking results but skip code generation
22342232 let newIState = { istate with tcState = tcState }
22352233 // Only raise StopProcessing for main script, not for loaded files
You can’t perform that action at this time.
0 commit comments