Edoardo Luppi
12/04/2023, 11:42 AMKClass#hashCode
method uses the class simple name
// TODO: use FQN
override fun hashCode(): Int = simpleName?.hashCode() ?: 0
I suppose it's better to avoid using it as of now, as we might have collisionsArtem Kobzar
12/04/2023, 12:09 PMEdoardo Luppi
12/04/2023, 12:10 PMArtem Kobzar
12/04/2023, 12:15 PMEdoardo Luppi
12/04/2023, 12:15 PMTODO()
Edoardo Luppi
12/04/2023, 12:17 PMEdoardo Luppi
12/04/2023, 12:19 PMhashCode
tho, just so the consumer is aware of the potential collision issuejw
12/04/2023, 7:52 PMEdoardo Luppi
12/04/2023, 8:01 PMjw
12/04/2023, 8:03 PM