Migrating to Kotlin M4: Most compilation errors outside AST fixed