On 2011-01-14, at 18:15, André Bargull wrote: > Every instance-allocated "var" declaration is in "__ivars__", so that > includes "var onx", too.
Got it. > Concerning your statement in JIRA: >> But if I can generate a more correct schema without relying on the developer >> getting the documentation just right, I would rather do that. > > The schema pretty relies on doc comments, especially the @lzxtype is really > important - not only for identifying events. In theory, a developer is allowed to add an instance-var to a built-in class (say `foo`), and they are not required to declare a corresponding event (or define a setter). How do we generate a correct schema, given that the current semantics say I am allowed to listen for `onfoo`, even if the developer did not declare it?
