Skip to content

Commit

Permalink
prefix vfuncs with the vfunc_ keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
vixalien committed Jan 22, 2024
1 parent 038b214 commit fb1693e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/callable.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function handleCallable(target, info) {
}

const value = createVFunc(info);
Object.defineProperty(target.prototype, name, {
Object.defineProperty(target.prototype, `vfunc_` + name, {
enumerable: true,
value(...args) {
return value(
Expand Down

0 comments on commit fb1693e

Please sign in to comment.