Closed daneelsan closed 3 years ago
I added this code to the hasNoSyntaxInformationQ
function in meta.wlt
:
And[
Options[Unevaluated @ symbol] =!= {},
MissingQ[Lookup[SyntaxInformation[Unevaluated @ symbol], "OptionNames"]]]
to error if the exposed symbols has Options
but no "OptionNames". However, it doesn't seem to work, it doesn't error out if I remove the "OptionNames" from a symbol...
@daneelsan, are you sure it doesn't work? On current master (67113af57fb2d158e515221af7ffb9e7daa24c56):
In[] := MissingQ[Lookup[SyntaxInformation[#], "OptionNames"]] & /@ {WolframModel, HypergraphPlot}
Out[] = {True, False}
Changes
SyntaxInformation
for all exposed symbols withOptions
.Comments:
Examples
This change is