Skip to content

Commit c04b0ab

Browse files
committed
fix overload resolution error
1 parent c877021 commit c04b0ab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Components/Fsi.fs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,9 @@ module Fsi =
429429
window.showErrorMessage ("Unable to spawn FSI") |> ignore
430430

431431
failwith "unable to spawn FSI"
432-
433-
let terminal = window.createTerminal !!profile.options
432+
// this coercion could be to either type - TerminalOptions _or_ ExtensionTerminalOptions
433+
// we don't actually care here so I picked the first Case on the U2 here.
434+
let terminal = window.createTerminal (!!profile.options : TerminalOptions)
434435

435436
// Wait for the new terminal to be ready
436437
let! newTerminal =

0 commit comments

Comments
 (0)