[Issue 7236] Protected class members in different file inaccessible

2013-02-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236



--- Comment #7 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-02-04 
11:16:08 PST ---
(In reply to comment #6)
 This is exactly the way it is designed to work. Accessibility is determined by
 the 'this' pointer, not the function it is in.

Perhaps, but it could be a future enhancement. I'm not sure about the pros vs
cons, maybe encapsulation would break under this enhancement. The damage seems
limited though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2013-02-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236


Walter Bright bugzi...@digitalmars.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||INVALID


--- Comment #6 from Walter Bright bugzi...@digitalmars.com 2013-02-03 
16:52:52 PST ---
This is exactly the way it is designed to work. Accessibility is determined by
the 'this' pointer, not the function it is in (C++ operates the same way). And,
of course, code in a module has all access to other classes in the same module.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2013-01-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236


Andrej Mitrovic andrej.mitrov...@gmail.com changed:

   What|Removed |Added

   Keywords||pull
 CC||andrej.mitrov...@gmail.com
 AssignedTo|nob...@puremagic.com|andrej.mitrov...@gmail.com


--- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-01-13 
09:58:51 PST ---
https://github.com/D-Programming-Language/dmd/pull/1478

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2012-04-23 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236



--- Comment #4 from SomeDude lovelyd...@mailmetrash.com 2012-04-23 02:22:36 
PDT ---
See also on the same topic issue 5769

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236



--- Comment #2 from SomeDude lovelyd...@mailmetrash.com 2012-04-21 01:47:16 
PDT ---
I think this is a major bug.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2012-04-21 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236



--- Comment #3 from SomeDude lovelyd...@mailmetrash.com 2012-04-21 02:28:51 
PDT ---
It also works with the following calls: f(), this.f() and super.f()

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 7236] Protected class members in different file inaccessible

2012-04-19 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7236


SomeDude lovelyd...@mailmetrash.com changed:

   What|Removed |Added

 CC||lovelyd...@mailmetrash.com


--- Comment #1 from SomeDude lovelyd...@mailmetrash.com 2012-04-19 13:51:25 
PDT ---
Confirmed on 2.059

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---