Ported 'SealedMemberInSealedClassIssue'.
Merge pull request #433 from TheCommieDuck/sealed-member

Ported 'SealedMemberInSealedClassIssue'.