ba90e87756
We always set the $assertionsDisabled field based on the top-level enclosing class. This means that for anonymous objects we have to rewrite the call to Class.desiredAssertionStatus.