moonsharp-devs/moonsharp

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

oxysoft opened this issue · 0 comments

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

if (desiredType == typeof(double) || desiredType == typeof(decimal))