#7. Implemnted warning for assignment in the contract block.