Twitter | Pretraživanje | |
Boris 14. stu
Seen today in a spec (and the IDL used by the spec editor's employer's browser): `boolean xrCompatible = null;`. Why does anyone's IDL parser allow that???
Reply Retweet Označi sa "sviđa mi se"
Boris
Looks like the implementation (not tests) does have `= false` (and why does that not match the spec?), but the IDL parser in question does in fact allow `= null`...
Reply Retweet Označi sa "sviđa mi se" More
James Willcox 14. stu
Odgovor korisniku/ci @bz_moz
null is falsey :)
Reply Retweet Označi sa "sviđa mi se"
Boris 14. stu
Odgovor korisniku/ci @snorp
Yes, that misconception seems to be what is going on in the relevant IDL parser/generator...
Reply Retweet Označi sa "sviđa mi se"