Skip to content

Commit

Permalink
fix overload resolution error
Browse files Browse the repository at this point in the history
  • Loading branch information
baronfel committed Jul 2, 2023
1 parent c877021 commit c04b0ab
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Components/Fsi.fs
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,9 @@ module Fsi =
window.showErrorMessage ("Unable to spawn FSI") |> ignore

failwith "unable to spawn FSI"

let terminal = window.createTerminal !!profile.options
// this coercion could be to either type - TerminalOptions _or_ ExtensionTerminalOptions
// we don't actually care here so I picked the first Case on the U2 here.
let terminal = window.createTerminal (!!profile.options : TerminalOptions)

// Wait for the new terminal to be ready
let! newTerminal =
Expand Down

0 comments on commit c04b0ab

Please sign in to comment.