Skip to content
This repository
Browse code

Fix #32400 - regression handling __rop__ methods.

  • Loading branch information...
commit 4a764976adb8753a524b06d2926824850d97a491 1 parent ce90110
Jeff Hardy authored March 12, 2012
2  Languages/IronPython/IronPython/Runtime/Binding/SlotOrFunction.cs
@@ -88,7 +88,7 @@ sealed class SlotOrFunction {
88 88
             get {
89 89
                 if (_function != null) {
90 90
                     var method = _function.Overload.ReflectionInfo as MethodInfo;
91  
-                    return method != null && method.IsDefined(typeof(MaybeNotImplementedAttribute), false);
  91
+                    return method != null && method.ReturnTypeCustomAttributes.IsDefined(typeof(MaybeNotImplementedAttribute), false);
92 92
                 }
93 93
 
94 94
                 return true;

0 notes on commit 4a76497

Please sign in to comment.
Something went wrong with that request. Please try again.