[Issue 3775] Segfault(cast.c): casting no-parameter template function using property syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 9 06:10:03 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3775
Don <clugdbug at 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 <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list