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


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.040                       |1.00
            Summary|Segfault(cast.c): on        |Segfault(cast.c): casting
                   |cast(string) stdin.byLine.  |no-parameter template
                   |                            |function using property
                   |                            |syntax


--- Comment #1 from Don <clugd...@yahoo.com.au> 2010-02-09 06:10:02 PST ---
Reduced test case also segfaults on D1, even ancient ones like DMD0.175.

struct Bug3775 {    
  static int byLine()()    { return 1;   }
}

static assert( cast(int) Bug3775.byLine);

Somehow, in DotIdExp::semantic, it has no type.

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

Reply via email to