https://issues.dlang.org/show_bug.cgi?id=3346
Andrei Alexandrescu changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=3346
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=3346
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=3346
--- Comment #6 from Max Samukha 2009-09-27 08:48:56
PDT ---
Really. That explains why we cannot use 'classinfo' alone.
I think there should be 'classInfo' and 'staticClassInfo' (Qt's analogues are
'metaObject' and 'staticMetaObject'). Then no
http://d.puremagic.com/issues/show_bug.cgi?id=3346
--- Comment #5 from Andrei Alexandrescu 2009-09-27
06:04:26 PDT ---
One additional thing about classinfo is that it is at the same time a static
and a nonstatic property.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?ta
http://d.puremagic.com/issues/show_bug.cgi?id=3346
--- Comment #4 from Max Samukha 2009-09-27 05:56:16
PDT ---
> work too then?
I think, yes.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=3346
Tomas Lindquist Olsen changed:
What|Removed |Added
CC||to...@famolsen.dk
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=3346
Max Samukha changed:
What|Removed |Added
CC||samu...@voliacable.com
--- Comment #2 fr
http://d.puremagic.com/issues/show_bug.cgi?id=3346
--- Comment #1 from Andrei Alexandrescu 2009-09-26
12:24:59 PDT ---
This code does not compile:
class A {
void fun() {
auto ci = classinfo;
}
}
But this does:
class A {
void fun() {
auto ci = this.classinfo;