calling local version of overloaded function

3 views
Skip to first unread message

Stephan Weinberger

unread,
Feb 11, 2024, 10:08:30 AMFeb 11
to LDMud Talk
Hello,

is there a way to call the local version of a function that has been
overloaded?

like ::foo() but not for the inherited but the locally defined function.
E.g. something like local::foo().

greetings
 invis

Gnomi

unread,
Feb 11, 2024, 11:03:46 AMFeb 11
to ldmud...@googlegroups.com
Hi,

Stephan Weinberger wrote:
> is there a way to call the local version of a function that has been
> overloaded?

Nothing comes to mind. The inherited function call and inherited lfun
closures are the only operations that use a specific program's function
table instead of the current object's function table (and the current
object always takes overloads into account).

Greetings,
Gnomi
Reply all
Reply to author
Forward
0 new messages