https://issues.dlang.org/show_bug.cgi?id=18866
--- Comment #4 from Simen Kjaeraas <simen.kja...@gmail.com> --- > there would be absolutely no way of calling fun1() from within the > WithStatement body Sure there would. Assuming the same code as in comment 0, you would call the global fun2 using .fun2();. You can test this by duplicating the line that calls fun2 and adding a period - it will print 'global'. There's no reason to assume that wouldn't work if an overload was available via opDispatch. --