parent
94725ffb4e
commit
3e9a8ccf59
|
@ -1999,7 +1999,11 @@
|
|||
(define/public (n) 2)
|
||||
(super-new)))
|
||||
(test 3 'mixin-with-local-member-names (send (new (mix c%)) x)))
|
||||
|
||||
|
||||
(err/rt-test (mixin (object%) () (super-new))
|
||||
exn:fail:object?
|
||||
#rx"not an interface")
|
||||
|
||||
;; ----------------------------------------
|
||||
;; Class contracts & generics
|
||||
|
||||
|
|
|
@ -4697,7 +4697,9 @@ An example
|
|||
[(or (as-write-list? val)
|
||||
(as-value-list? val))
|
||||
(apply string-append
|
||||
(for/list ([v (in-list (as-write-list-content val))])
|
||||
(for/list ([v (in-list (if (as-write-list? val)
|
||||
(as-write-list-content val)
|
||||
(as-value-list-content val)))])
|
||||
(format (if (as-write-list? val)
|
||||
"\n ~s"
|
||||
"\n ~e")
|
||||
|
|
Loading…
Reference in New Issue
Block a user