fix Issue 10953 - Attribute inheritance needs to apply to contracts, too
Merge pull request #2521 from 9rnsr/fix10953

Issue 10953 - Attribute inheritance needs to apply to contracts, too