On Tuesday, 17 June 2014 at 15:45:55 UTC, Bruno Medeiros wrote:

Adding "final" to every method in certain classes could be done without semantic analysis. Reworking certain constructs to different constructs possibly as well (for example change foreach_reverse to just foreach usage)

What about methods added via template and string mixins? You cannot add "final" to a method in a template, because you don't know if it will be mixed in into a class or struct (does the compiler allow "final" on struct methods?). There's no possible way to handle string mixins, a method can be built up by concatenating strings.

/Jacob Carlborg

Reply via email to