If at the time of dissolution, nothing is stated regarding the settlement of any outside liability then
Rohan's loan to firm is external liability; paid before partners capital on dissolution.
Ref: NCERT Accountancy Class XII Chapter 5 Dissolution of Firm explains realisation account settlement partners loan unrecorded assets liabilities treatment.