reorder resolvePendingSymbols's input arguments