[Issue 10760] New: compiler drops opDispatch if it contains an error(s)
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 5 02:24:05 PDT 2013
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: nobody at puremagic.com
ReportedBy: temtaime at gmail.com
--- Comment #0 from Temtaime <temtaime at gmail.com> 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: -------
More information about the Digitalmars-d-bugs
mailing list