[Mono-bugs] [Bug 506882] Subclassing class with protected methods should allow access in IronPython
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon May 25 23:54:00 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=506882
User dblank at cs.brynmawr.edu added comment
http://bugzilla.novell.com/show_bug.cgi?id=506882#c4
--- Comment #4 from Doug Blank <dblank at cs.brynmawr.edu> 2009-05-25 21:53:59 MDT ---
The code that causes the exception to be raised is in:
DLR-0.91\Src\Languages\IronPython\IronPython\Runtime\Types\ReflectedProperty.cs:
foreach (MethodInfo mi in Setter) {
if(mi.IsStatic && DeclaringType != owner.UnderlyingSystemType) {
return false;
} else if (mi.IsFamily || mi.IsFamilyAndAssembly) {
throw
PythonOps.TypeErrorForProtectedMember(owner.UnderlyingSystemType, _info.Name);
}
}
so it would appear that one of those flags is incorrect.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list