Skip to content

fix fast_fn property inheritance by using PrototypeTemplate#8

Merged
MangelSpec merged 1 commit intomasterfrom
fix/fast-fn-property-inheritance
Feb 13, 2026
Merged

fix fast_fn property inheritance by using PrototypeTemplate#8
MangelSpec merged 1 commit intomasterfrom
fix/fast-fn-property-inheritance

Conversation

@MangelSpec
Copy link
Owner

SetAccessorProperty on InstanceTemplate doesn't propagate through FunctionTemplate::Inherit(), unlike SetNativeDataProperty. This caused fast_fn properties defined on a base class to return undefined when accessed on derived class instances. Moving to PrototypeTemplate matches how all other class bindings (functions, constants, symbols) work and follows normal JS prototype chain semantics.

@MangelSpec MangelSpec merged commit ea44b1c into master Feb 13, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant