detecting sealed objects

# Neil Mix (19 years ago)

I don't see anything in the intrinsic::NominalType interface that
allows one to detect whether or not an object is sealed. Is there
some way to detect that?

Also, in the meta-objects proposal, I'm wondering why indicators for
dynamic/final/internal/public aren't available via ClassType -- is
that a burden on implementors?

# Jeff Dyer (19 years ago)

-----Original Message----- From: es4-discuss-admin at mozilla.org [mailto:es4-discuss-admin at mozilla.org] On Behalf Of Neil Mix Sent: Thursday, March 15, 2007 2:47 PM To: es4-discuss at mozilla.org Subject: detecting sealed objects

I don't see anything in the intrinsic::NominalType interface that allows one to detect whether or not an object is sealed. Is there some way to detect that?

Good catch. There needs to be flag on what we are now calling InstanceType to tell the static type checking to skip unresolved reference errors.