We should use the declaration-site session to have stable resolution order. The same scheme is applicable during regular lazy resolution calls. ^KT-63547 Fixed
^KT-63547