[Issue 8490] Global property calls do not work with pointers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 29 06:34:30 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8490
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Global property calls do |Global property calls do
|not work with auto |not work with pointers
|expressions |
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-08-29 06:34:28 PDT ---
This is related to pointers not just auto expressions:
struct Foo { }
@property bool isTrue(Foo foo) { return true; }
void main()
{
Foo* foo = new Foo;
bool b = foo.isTrue;
}
--
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