mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
Do not query MultifileClassCodegen#classBuilder early on: this causes the class file for the facade to be prematurely dumped to the disk in some cases, when that class file is not yet completely generated. Instead fork the logic in PropertyCodegen#generateSyntheticMethodIfNeeded: save metadata in parts, generate method in the facade