This is needed for transational period of migrating kotlin repository to compiler with version 1.5 (cherry picked from commit 2836a17952dd47b5b8fe176a0b0374c23567b2ff)