Fix property enforcements in `std.range` mixins.
Merge pull request #2245 from denis-sh/fix-property-enforcements-in-`std.range`-mixins

Fix property enforcements in `std.range` mixins.