http://d.puremagic.com/issues/show_bug.cgi?id=10760
Summary: compiler drops opDispatch if it contains an error(s)
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Temtaime <[email protected]> 2013-08-05 02:24:01 PDT ---
struct S {
int opDispatch(string s)() @property {
//notexistssymbol(); // when uncomment that dmd says: Error: no
property 'foo' for type 'S'
return 0;
}
}
void main() {
S s;
auto t = s.foo;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------