https://issues.dlang.org/show_bug.cgi?id=15764
RazvanN <razvan.nitu1...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1...@gmail.com Resolution|--- |WONTFIX --- Comment #1 from RazvanN <razvan.nitu1...@gmail.com> --- The problem here is that when `ta(s)` is resolved, the first scope that is searched for `ta` is the current scope and the `ta` symbol is already defined as an enum. This sort of situation is precisely why the dot operator was added. The alternative would be to special case the implementation for such situations. As a conclusion, this is a WONTFIX. The compilers does the correct thing. --