Are you taking a narrow view of earnings? As far as a stockholder is concerned a company being bought out qualifies as earnings even if they never turn a profit and are only bought for their IP.
You are right. I understood earnings as company earnings, as that is usually the meaning in the context of stocks. Now I realize you were talking about the stockholder’s earnings.