moonsharp icon indicating copy to clipboard operation
moonsharp copied to clipboard

Docs say heuristic should resolve float/int overloads properly; actually does not

Open oxysoft opened this issue 5 years ago • 0 comments

float is treated as a downcast, same exact score as int. See for yourselves

https://github.com/moonsharp-devs/moonsharp/blob/7b8103d58b30c72f7122c9c20ec682f0066e635f/src/MoonSharp.Interpreter/Interop/Converters/ScriptToClrConversions.cs#L311

oxysoft avatar Dec 16 '20 05:12 oxysoft