Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). FIRRTL expand-whens silently accepts uninitialized firrtl.object declarations and never checks class bodies
The task
[FIRRTL] expand-whens silently accepts uninitialized firrtl.object declarations and never checks class bodies
Part of henryen/OriGent-SFT-Data.