Blibble, I wonder if you slept with your arm against your eyelid? Perhaps it was pressed against the eye throughout the night, and the pressure caused it to get swollen?

My dad did that, and I think his vision was messed up for a while - either very blurry or dark. I can't remember if it was swollen, but I think he'd said that he had slept with his arm against his eye.