#BUGFIX by stefan
class: ProtoObject
added: #isBridgeProxy
changed: #shallowCopyOf:
--- a/ProtoObject.st Wed Nov 30 16:23:21 2016 +0100
+++ b/ProtoObject.st Wed Nov 30 16:58:18 2016 +0100
@@ -119,7 +119,27 @@
%}.
"/ fallBack for special objects & memoryAllocation failure case
- ^ self error
+ ^ self error:'ProtoObject>>#shallowCopyOf: failed'
+! !
+
+!ProtoObject methodsFor:'StepInterruptContext'!
+
+inspect
+ "this method is required to allow inspection of the object"
+
+ ^ (Object compiledMethodAt:#inspect)
+ valueWithReceiver:self
+ arguments:nil
+ selector:#inspect
+!
+
+instVarAt:index
+ "this method is required to allow inspection of the object"
+
+ ^ (Object compiledMethodAt:#instVarAt:)
+ valueWithReceiver:self
+ arguments:{index}
+ selector:#instVarAt:
! !
!ProtoObject methodsFor:'error handling'!
@@ -141,26 +161,6 @@
^ MessageNotUnderstood raiseRequestWith:aMessage
! !
-!ProtoObject methodsFor:'inspector support'!
-
-inspect
- "this method is required to allow inspection of the object"
-
- ^ (Object compiledMethodAt:#inspect)
- valueWithReceiver:self
- arguments:nil
- selector:#inspect
-!
-
-instVarAt:index
- "this method is required to allow inspection of the object"
-
- ^ (Object compiledMethodAt:#instVarAt:)
- valueWithReceiver:self
- arguments:{index}
- selector:#instVarAt:
-! !
-
!ProtoObject methodsFor:'queries'!
class
@@ -233,6 +233,10 @@
!ProtoObject methodsFor:'testing'!
+isBridgeProxy
+ ^ false
+!
+
ifNil:aBlock
^ self
!