moonsharp icon indicating copy to clipboard operation
moonsharp copied to clipboard

string.format('%s', nil) throws an exception.

Open Aberro opened this issue 4 years ago • 1 comments

https://www.lua.org/manual/5.2/manual.html#pdf-string.format As docs in version 5.2 says, %s should convert values to string, including nil values.

Aberro avatar May 01 '20 16:05 Aberro

fix in pull request: https://github.com/moonsharp-devs/moonsharp/pull/280

Aberro avatar May 10 '20 18:05 Aberro