[Rpm-maint] [rpm-software-management/rpm] RFE: pass parametric macro options and arguments to Lua natively (#1092)
Panu Matilainen
notifications at github.com
Thu Oct 8 13:26:26 UTC 2020
Oh, looking closer:
> @nim-nim wrote
> [...]
> exist because nil is not the same as false or empty
Yes, nil is not same as empty. It however very explicitly is same as false, quoting https://www.lua.org/manual/5.4/manual.html#2.1:
> Both nil and false make a condition false; they are collectively called false values. Any other value makes a condition true.
It doesn't get much more clearer than that. If you've assumed otherwise then that's your headache. If you look closer, this PR specifically *relies* on the fundamental language behavior of empty meaning true and nil being false. I'm not aware of anything in rpm assuming otherwise, but if there was that'd simply be a bug that needs fixing.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1092#issuecomment-705566832
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201008/9129d1c8/attachment.html>
More information about the Rpm-maint
mailing list