You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now our Class and ClassBuilder API is a lot stricter than its equivalent ConstructorBuilder, which makes ClassBuilder a bit clunkier to use. Ideally we should integrate all ConstructorBuilder's APIs with ClassBuilder, and also add some more features to make ClassBuilder a bit nicer to use. Specifically:
Right now our
Class
andClassBuilder
API is a lot stricter than its equivalentConstructorBuilder
, which makesClassBuilder
a bit clunkier to use. Ideally we should integrate allConstructorBuilder
's APIs withClassBuilder
, and also add some more features to makeClassBuilder
a bit nicer to use. Specifically:PropertyKey
as the name of a method. (Introduce aClass
map #3315)[[HostDefined]]
field onRealm
s #2952) (Introduce aClass
map #3315).JsObject
wrapping theNativeObject
constructed.this
tonew_target
and document that this is not the constructed object, but the parent constructor.Class
data (Class::from_data
maybe?)The text was updated successfully, but these errors were encountered: