Classes can have implicit members that were added before fields were
deserialized. These members were previously silently removed from
decls() when fields were deserialized after them.
This was the root cause of a compilation error exposed in
bc95f27337c7ed77c28e713c855272848f01802a, added a test for it.