This is not immediately solvable, but Moonsharp will need to be updated once this issue is solved.

https://github.com/xanathar/moonsharp/issues/236