svn: r1605
This commit is contained in:
parent
08b57461d7
commit
93bab6de21
|
@ -103,7 +103,8 @@ Known bugs for dynamic:
|
|||
dynamic x = ic;
|
||||
C c = (C) x;
|
||||
In this program, the cast of x to C will fail, even though the value is an intstanceof C.
|
||||
These issues will be addressed in future versions.
|
||||
These issues will be addressed in future versions.
|
||||
Some assignments (with implicit downcasts) will also fail.
|
||||
|
||||
_Libraries available to ProfessorJ:
|
||||
|
||||
|
|
|
@ -765,7 +765,7 @@
|
|||
(raise (make-exn:fail
|
||||
(string->immutable-string
|
||||
(format "~a broke the contract with ~a here, expected an object with a method ~a accepting ~a args"
|
||||
n p method-name num-args)) s)))))
|
||||
n p method-name num-args)) c)))))
|
||||
(and ,@(map method->check/error
|
||||
(filter (lambda (m) (not (eq? 'ctor (method-record-rtype m)))) wrapped-methods))))
|
||||
#;(c:contract ,(methods->contract (filter (lambda (m) (not (eq? 'ctor (method-record-rtype m))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user