http://d.puremagic.com/issues/show_bug.cgi?id=9127
Summary: Error on getting `stringof` on field with body-less
interface type
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis Shelomovskij <[email protected]> 2012-12-09
11:40:27 MSK ---
---
interface I;
struct S { I a; }
enum e = S.tupleof[0].stringof; // line 3
---
Output:
---
main.d(3): Error: function expected before (), not "module main"c of type
string
---
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------