October 27, 2013 [Issue 11366] New: typeid on field access gives CT error: need 'this' | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=11366 Summary: typeid on field access gives CT error: need 'this' Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: thelastmammoth@gmail.com --- Comment #0 from thelastmammoth@gmail.com 2013-10-27 02:04:50 PDT --- class A{} struct B{ A a; } void main(){ B b; b.a=new A; auto a=b.a; auto c=typeid(a); auto c2=typeid(b.a);//CT error: need 'this' for 'a' of type main.A } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
November 02, 2013 [Issue 11366] typeid on field access gives CT error: need 'this' | ||||
---|---|---|---|---|
| ||||
Posted in reply to thelastmammoth@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=11366 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> 2013-11-02 05:53:58 PDT --- *** This issue has been marked as a duplicate of issue 11010 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation