Ok cool. I think name was supposed to be final.
And read-only is a keyword too?
On 2007-03-14, at 13:33 EDT, Jim Grandy wrote:
This capacity is not lost. This works:
/**
* @keywords final
*/
I did migrate all the 'final' designations from the schema into the
LFC sources; if I missed a place, or if a 'final' designation
wasn't converted into '@keywords final', then that's a bug we
should fix.
jim
On Mar 14, 2007, at 9:54 AM, P T Withington wrote:
We used to be able to distinguish certain attributes as being
`final` meaning they could only be set at construct time, and/or
`read-only` meaning that you should not attempt to set them
(although the compiler does not enforce that).
I notice, for instance that in reference/LzNode.html `name` gives
no indication that it is final, and I realized that `isinited`
should be read-only.
js2 will add `final` and `const`, but I think the only way to to
make something read-only in js2 is to define a null setter? Is
there a way we can annotate the doc to convey these things?