Skip to content

Commit f293204

Browse files
vzarytovskii0101
andauthored
Apply suggestions from code review
Co-authored-by: Petr Pokorny <[email protected]>
1 parent 5c2af46 commit f293204

File tree

1 file changed

+3
-3
lines changed
  • src/Compiler/Interactive

1 file changed

+3
-3
lines changed

src/Compiler/Interactive/fsi.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1138,7 +1138,7 @@ type internal FsiConsolePrompt(fsiOptions: FsiCommandLineOptions, fsiConsoleOutp
11381138
else
11391139
"> "
11401140

1141-
member _.Print() =
1141+
member _.Print() =
11421142
if showPrompt then
11431143
if dropPrompt = 0 then
11441144
fsiConsoleOutput.uprintf "%s" prompt
@@ -1156,7 +1156,7 @@ type internal FsiConsolePrompt(fsiOptions: FsiCommandLineOptions, fsiConsoleOutp
11561156
with get () = showPrompt
11571157
and set (value) = showPrompt <- value
11581158

1159-
member _.SkipNext() =
1159+
member _.SkipNext() =
11601160
if showPrompt then
11611161
dropPrompt <- dropPrompt + 1
11621162

@@ -3104,7 +3104,7 @@ type FsiInteractionProcessor
31043104

31053105
// After we've unblocked and got something to run we switch
31063106
// over to the run-thread (e.g. the GUI thread)
3107-
let res = istate |> runCodeOnMainThread (fun ctok istate ->ExecuteParsedInteractionOnMainThread (ctok, diagnosticsLogger, action, istate, cancellationToken))
3107+
let res = istate |> runCodeOnMainThread (fun ctok istate -> ExecuteParsedInteractionOnMainThread (ctok, diagnosticsLogger, action, istate, cancellationToken))
31083108

31093109
if progress then fprintfn fsiConsoleOutput.Out "Just called runCodeOnMainThread, res = %O..." res
31103110
res)

0 commit comments

Comments
 (0)