fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

We should disable the --multiemit[+/-] switch in fsi.

Open KevinRansom opened this issue 1 year ago • 2 comments

The internal scenario with a 30 assembly limit is no longer an issue.

It defaults to on anyway.

KevinRansom avatar Jun 14 '24 06:06 KevinRansom

We need to make sure disabling this option does not break anyone

Vlad says dotnet interactive was using it a year ago

abonie avatar Jun 17 '24 16:06 abonie

It will definitely break a lot of stuff! I'm using this option --multiemit- as a workaround for serializers who ignores CompilerGenerated Please leave it in FSI 🙏

https://github.com/dotnet/fsharp/issues/13493 https://github.com/dotnet/machinelearning/issues/6209

Szer avatar Jul 22 '24 22:07 Szer

I am also using --multiemit-, otherwise, I get a type load exception when hosting FSI in Rhino.

I have not been able to debug the type load exception yet. As a side effect of using --multiemit- i don't have line numbers on Exceptions.

goswinr avatar Feb 19 '25 10:02 goswinr

It'd be a step in a right direction. Let's just make sure the issues mentioned are addressed, and we do have tests for those use cases.

majocha avatar Apr 10 '25 09:04 majocha