[Issue 5223] [qtd] Cannot use default value with function parameter of struct type

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 18 12:44:42 PST 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-18 12:44:39 PST ---
(In reply to comment #1)
> Even simpler test-case:

This is very similar to Issue 3206.

I think what's probably happening is that the semantic analysis on the call
expression in a default argument is done without completing the semantic
analysis on the struct/class first.

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


More information about the Digitalmars-d-bugs mailing list