Recently I added the size to the debug info for class declarations, so
that the correct fragments are created when a class is not defined.
This patch asserts that the variable size exists when creating
fragments, since I think there shouldn't be any cases where we want to
create fragments for a variable with no size.t