http://d.puremagic.com/issues/show_bug.cgi?id=3980
Summary: DMDFE confused about function pointer/whisper syntax when mixed with array indexing. Product: D Version: 1.057 Platform: x86_64 OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: b...@brix-verden.dk --- Comment #0 from Thomas Brix Larsen <b...@brix-verden.dk> 2010-03-17 07:20:51 PDT --- http://dsource.org/projects/ldc/ticket/402 struct Stdout { static Stdout opCall(int i = 0) { Stdout s; return s; } } void main() { int[char[]] b; Stdout(b["hello"])(); // error, DMDFE thinks you want to declare b // of type Stdout["hello"] int (funcptr[4])(); // declares int[4] funcptr; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------