emacs-fsharp-mode icon indicating copy to clipboard operation
emacs-fsharp-mode copied to clipboard

sending code from buffer to inferior mode on dotnet fsi doesn't work.

Open MiyamotoAkira opened this issue 6 years ago • 2 comments

Description

We can use dotnet fsi on the inferior mode, but we can't send any code

Repro steps

C-c C-r of some code in F# buffer and use dotnet fsi as the toplevel to run

Expected behavior

An inferior session with dotnet starts and the code is sent to the inferior mode

Actual behavior

The following error is thrown:

	Could not load file or assembly 'Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'. The system cannot find the file specified.
System.Exception: You need to implement this function.
   at <StartupCode$FSI_0002>.$FSI_0002.main@()

Related information

  • Operating system - Fedora 30
  • Branch - MELPA 20190609.1317
  • Emacs version 26.2
  • .NET Runtime, CoreCLR or Mono Version - dotnet, F# interactive 10.6

I will be looking at doing the necessary changes to support properly dotnet fsi on fsharp-mode

MiyamotoAkira avatar Sep 26 '19 06:09 MiyamotoAkira

I'm going to check on my other laptop when I get home, as I don't have dotnet 3 installed on it yet, as I have seen some reports of the same thing happening on VsCode.

MiyamotoAkira avatar Sep 26 '19 16:09 MiyamotoAkira

So it is related to Dotnet 3. It works as expected with 2.2

Not sure if there is something that needs to be done on fsharp-mode (will have a look into it)

MiyamotoAkira avatar Sep 29 '19 10:09 MiyamotoAkira