You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handling of "nil" in Lua is not always obvious. In some cases, nil has a special meaning, so returning nil from Lupa can be ambiguous and may prevent users from figuring out what has actually happened (is it an error case or did someone return None or nil on purpose?)
I admit that the cases where Lupa returns either None or nil are not all thoroughly thought out. It's worth some more investigation. Any help is appreciated.
If a class property such as
Is access via Lua and the return is None then you get None itself rather than nil.
The text was updated successfully, but these errors were encountered: