qaz@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agoWhen you manage to break the type systemlemmy.worldexternal-linkmessage-square10linkfedilinkarrow-up1106arrow-down17
arrow-up199arrow-down1external-linkWhen you manage to break the type systemlemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square10linkfedilink
minus-squareonlinepersona@programming.devlinkfedilinkarrow-up11arrow-down1·11 months agoWhat did you actually do? Anti Commercial-AI license
minus-squareqaz@lemmy.worldOPlinkfedilinkEnglisharrow-up22·11 months agoI broke the type system in Kotlin and ended up with a null value in a non-null (not lateinit) variable.
minus-squareNat (she/they)@lemmy.blahaj.zonelinkfedilinkarrow-up5·11 months agoHow convoluted was it?
minus-squareMMauro@feddit.itlinkfedilinkarrow-up1·11 months agoInteresting. Care to share? I think they fixed a few of those issues with K2. Did you find something new or is it known?
minus-squareqaz@lemmy.worldOPlinkfedilinkEnglisharrow-up2·edit-211 months agoIt was about 3 years ago, and I haven’t been able to find my old code again. I probably discarded it after finding out it didn’t work well. I was able to find these screenshots though:
What did you actually do?
Anti Commercial-AI license
I broke the type system in Kotlin and ended up with a null value in a non-null (not
lateinit
) variable.How convoluted was it?
With no platform types involved?
Yes
Interesting. Care to share? I think they fixed a few of those issues with K2. Did you find something new or is it known?
It was about 3 years ago, and I haven’t been able to find my old code again. I probably discarded it after finding out it didn’t work well.
I was able to find these screenshots though: