>> We talked about desugaring classes in some detail in Oslo. During >> these exchanges, we discussed several separable issues, including >> classes, inheritance, like patterns, and type annotations. I'll avoid >> writing more here, > > Is there more to read elsewhere? I'd like to know concretely what > "desugaring classes" means.
I would too, I assume this is based on Mark's proposal for Classes as Sugar (http://www.mail-archive.com/es4-discuss@mozilla.org/msg01624.html). However, Mark's proposal seems pretty vague in the area of typing, so I am curious how this would work as well. Would there be new functionality/semantics for defining types on properties (via defineProperty in ES3.1, sugared in ES4) with some type of object structures like I suggested in https://mail.mozilla.org/pipermail/es4-discuss/2008-July/003321.html? Kris _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss