Does anyone know how to account for wash sale that attached based on purchasing options where the last transaction was the purchase of an option that expired worthless? The issue is that there is no subsequent sale outside of the 30 days covered by the wash sale rule and, therefore, no transaction to which to apply the higher basis from the disallowed wash sale.
If I follow your question, there was a loss, disallowed via wash sale due to the purchase of an option. The option takes on the loss as an increase to its basis, and when it expires, it's reported. The option transaction adds the loss to its purchase cost and the sale is still zero. That transaction allow the option owner to take the loss.