Actually turn on old object-info hack mentioned in 4e451a1.
original commit: 778f0c9fc4af1c36c378e3e7bbedeb47b27feeb7
This commit is contained in:
parent
d860b1a18a
commit
de3c2dcc8a
|
@ -2760,10 +2760,6 @@ of the contract library does not change over time.
|
||||||
(test #t (contract-eval 'is-a?) (contract-eval `(contract (object-contract) ,o 'pos 'neg)) i<%>)
|
(test #t (contract-eval 'is-a?) (contract-eval `(contract (object-contract) ,o 'pos 'neg)) i<%>)
|
||||||
(test #t (contract-eval 'is-a?) (contract-eval `(contract (object-contract) ,o 'pos 'neg)) c%))
|
(test #t (contract-eval 'is-a?) (contract-eval `(contract (object-contract) ,o 'pos 'neg)) c%))
|
||||||
|
|
||||||
;; Currently the new object contracts using impersonators don't even attempt to ensure that
|
|
||||||
;; these reflective operations still work, and I'm not even sure they should. For now, I'll
|
|
||||||
;; just comment them out so that we can revive them if we decide that they should work.
|
|
||||||
#|
|
|
||||||
(let ([c% (parameterize ([current-inspector (make-inspector)])
|
(let ([c% (parameterize ([current-inspector (make-inspector)])
|
||||||
(contract-eval '(class object% (super-new))))])
|
(contract-eval '(class object% (super-new))))])
|
||||||
(test (list c% #f)
|
(test (list c% #f)
|
||||||
|
@ -2785,7 +2781,6 @@ of the contract library does not change over time.
|
||||||
,obj
|
,obj
|
||||||
'pos
|
'pos
|
||||||
'neg))))
|
'neg))))
|
||||||
|#
|
|
||||||
|
|
||||||
;
|
;
|
||||||
;
|
;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user