Now that we have a way of marking procedures as methods at runtime,
fix up all projection applications and uncomment out the tests for appropriate method arity errors. svn: r18504 original commit: 40b35a2b7381e40a80c121f8154c4eba087b7d1b
This commit is contained in:
parent
d889d9de71
commit
bce18957eb
|
@ -2716,7 +2716,7 @@ of the contract library does not change over time.
|
|||
;;
|
||||
;; test error message has right format
|
||||
;;
|
||||
#|
|
||||
|
||||
(test/spec-passed/result
|
||||
'wrong-method-arity-error-message
|
||||
'(with-handlers ([exn:fail? exn-message])
|
||||
|
@ -2728,7 +2728,7 @@ of the contract library does not change over time.
|
|||
1
|
||||
2))
|
||||
"procedure m method: expects 1 argument, given 2: 1 2")
|
||||
|#
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;
|
||||
;; tests object utilities to be sure wrappers work right
|
||||
|
|
Loading…
Reference in New Issue
Block a user