http://d.puremagic.com/issues/show_bug.cgi?id=1528


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com


--- Comment #7 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-08-25 11:18:39 
PDT ---
> This bug causes problems with @disabled default constructors.

>From what I can tell, @disable this() doesn't work _at all_: bug# 7021

I don't think that this bug has anything to do with it.

And I wouldn't expect @disable this()(); to work anyway, because the function
that you're trying to disable doesn't exist. It would have to be instantiatied
to exist, and it's not possible to call a default constructor on a struct,
since they're not legal in the first place, so it can't be instantiated.
@disable this()(); should probably result in an error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to