, I see that the compiler generates fake overrides for everything defined in the superclass. Is this necessary for the backend? I mean it is not a trouble to generate them but it makes the generated IR quite big. What do these fake overrides actually do?
i
Ilmir Usmanov [JB]
07/27/2022, 4:15 PM
Yes, they are used in backend. For example, for inline classes, it generates static bridges, which call fake override methods.