https://issues.dlang.org/show_bug.cgi?id=16370
Issue ID: 16370 Summary: outdated spec: templated functions allowed in interfaces Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: spec Severity: normal Priority: P1 Component: dlang.org Assignee: nob...@puremagic.com Reporter: lodov...@giaretart.net The last line of this page [1] says that interfaces cannot contain templated functions (and suggest the compiler should raise an error). But DMD allows templated functions in interfaces, making them implicitly final. >From a thread [2] it looks like this was a conscious addition, so the spec shall be updated. [1] https://dlang.org/spec/template.html#limitations [2] http://forum.dlang.org/post/wmnsqhzrzihgfrahf...@forum.dlang.org --