Join Slack
Communities
Powered by
I recall someone mentioned the possibility of chan...
# compiler
e
Edoardo Luppi
04/15/2024, 11:12 AM
I recall someone mentioned the possibility of changing the behavior of the assignment operator via compiler plugin, is this something that is still being considered?
e
ephemient
04/15/2024, 11:14 AM
it already exists and is being used by gradle
https://plugins.gradle.org/plugin/org.jetbrains.kotlin.plugin.assignment
e
Edoardo Luppi
04/15/2024, 11:15 AM
Oh cool! Thank you!
Edoardo Luppi
04/15/2024, 11:18 AM
https://github.com/Kotlin/KEEP/issues/309#issuecomment-1332347455
Now I recall
a
Adam S
04/15/2024, 11:49 AM
https://stackoverflow.com/questions/76022932/how-can-i-define-a-custom-assign-operator-overload-in-kotlin
(some self promotion :))
e
Edoardo Luppi
04/19/2024, 12:11 PM
Thanks
@Adam S
👍 1
2
Views
Open in Slack
Previous
Next