bod
07/05/2019, 12:13 PMkarelpeeters
07/05/2019, 12:17 PMIf a class has a member function, and an extension function is defined which has the same receiver type, the same name is applicable to given arguments, the member always wins.(emphasis not mine)
bod
07/05/2019, 12:19 PMbod
07/05/2019, 12:20 PMkarelpeeters
07/05/2019, 12:21 PMribesg
07/05/2019, 12:48 PMMarc Knaup
07/05/2019, 12:58 PMribesg
07/05/2019, 1:04 PMDias
07/05/2019, 1:05 PMribesg
07/05/2019, 1:05 PMDias
07/05/2019, 1:06 PMbod
07/05/2019, 1:30 PMbod
07/05/2019, 1:31 PMkarelpeeters
07/05/2019, 1:33 PMbod
07/05/2019, 1:34 PMbod
07/05/2019, 1:35 PMribesg
07/05/2019, 1:36 PMribesg
07/05/2019, 1:38 PMinterface A {
fun a()
}
fun A.a() {}
bod
07/05/2019, 1:39 PMMarc Knaup
07/05/2019, 1:39 PM