[Issue 8106] func.stringof with default args
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Jun 12 16:44:21 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=8106
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2012-06-12 16:46:31 PDT ---
For this program:
=======================
struct Colour
{
  ubyte a,r,g,b;
  immutable Colour white = Colour(255,255,255,255);
}
void func(Colour c = Colour.white);
void main()
{
   pragma(msg, func.stringof);
}
=======================
it prints:
  func(white)
not:
  void func(Colour c = white)
Can you please verify the behavior you are seeing?
-- 
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