This crashes:
function t() return end print(t()) |
I'm not sure how Lua describes this in language terms. The spec doesn't have much to say about returning no values; it's not a nil or table. (An empty list?) Lua 5.3.1 just prints an empty value.
This is Pico-8 0.1.3.
P#15621 2015-10-19 23:59 ( Edited 2015-10-20 22:22)
[Please log in to post a comment]