The pope does not discuss economic theories; he discusses values which are expressed through economic systems. When a succession of popes condemned socialism, it is not through the eyes of whether socialism harms the stock market by destroying incentive, but that it is natural law that one should prosper by the works of his own hands, and not have his wealth subject to confiscation by the government.
Agreed!
I would add that many Popes foresaw error's of economic systems due to the Church's historical dealings of man