[MIN] Better error message for self-referencing static variables.