https://issues.dlang.org/show_bug.cgi?id=10511
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1...@gmail.com Resolution|--- |FIXED --- Comment #4 from RazvanN <razvan.nitu1...@gmail.com> --- The code from the original bug report fails compiling with: test.d(2): Error: function is10511.Foo.opDispatch!"bar".opDispatch without this cannot be const test.d(7): Error: template instance is10511.Foo.opDispatch!"bar" error instantiating Which the correct error message. Closing as fixed. --