August 21, 2019 [Issue 1514] mixin doesn't make the template to "function template" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=1514 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |INVALID --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- This bug report is invalid. mytemp is not an eponymous template because it has a single member that is the mixin. So when the call occurs the compiler first needs to identify what you are trying to call, thus it finds the mytemp template, but inside it there is no function, there's only a mixin => confusion for the compiler. This cannot be fixed, because you would have to instantiate the mixin before actually instantiating the template. Closing as invalid. -- |
March 27, 2023 [Issue 1514] mixin doesn't make the template to "function template" | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=1514 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simendsjo@gmail.com --- Comment #3 from RazvanN <razvan.nitu1305@gmail.com> --- *** Issue 11095 has been marked as a duplicate of this issue. *** -- |
Copyright © 1999-2021 by the D Language Foundation