Marko Mitic
06/13/2019, 11:22 AMclass C: Iface by Delegate(this)
Marko Mitic
06/13/2019, 11:23 AMmarstran
06/13/2019, 11:24 AMDelegate
would call anything on the C
instance, it would cause an infinite loop, wouldn't it?marstran
06/13/2019, 11:25 AMC
has a method f
. A call to f
is delegated to Delegate
, which, if it would call f
on its instance, would be delegated to itself again.Marko Mitic
06/13/2019, 11:53 AMIface
Marko Mitic
06/13/2019, 11:54 AMclass C: Superclass(), Iface by Delegate(this as Superclass)
Marko Mitic
06/13/2019, 11:54 AMRuckus
06/13/2019, 1:39 PMMarko Mitic
06/13/2019, 2:23 PMkarelpeeters
06/13/2019, 2:23 PMthis
instance there.Dico
06/15/2019, 6:05 AMDico
06/15/2019, 6:06 AM