Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 17, 2023
1 parent 41f5f11 commit 4d995ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/JavaScriptCore/runtime/Lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ inline void reifyStaticProperty(VM& vm, const ClassInfo* classInfo, const Proper
}
#if USE(BUN_JSC_ADDITIONS)
if (value.attributes() & PropertyAttribute::Constructable) {
StringImpl *name = propertyName.string();
StringImpl *name = propertyName.publicName();
JSFunction* function = JSFunction::create(vm, thisObj.globalObject(), value.functionLength(), name, value.function(), ImplementationVisibility::Public, value.intrinsic(), value.function(), nullptr);
thisObj.putDirect(vm, propertyName, function, attributesForStructure(value.attributes()));
return;
Expand Down

0 comments on commit 4d995ed

Please sign in to comment.