Is there a technical reason for the 1000 supertype...
# compiler
z
Is there a technical reason for the 1000 supertype limitation in kotlin? Found this issue from a few years ago but not sure it was ever picked up: https://youtrack.jetbrains.com/issue/KT-49235/Kotlin-interface-limited-to-1000-super-types
d
Originally it was added as a protection against possible bugs in cycle-breaking mechanism So if the cycle wasn't broken properly, compile will crash instead of hanging forever It makes sense to remove this check now, as there was no hits on this check for the last years
z
Awesome, let me know if you want a separate issue as a feature request, or even a PR to just remove that check if it’s as simple as that :)
d
I've already removed it It's on review atm
z
Awesome, thanks!