Use public interface for print-method of vars
This commit is contained in:
parent
409380dbc3
commit
f9f2147156
2 changed files with 5 additions and 1 deletions
2
sci
2
sci
|
|
@ -1 +1 @@
|
|||
Subproject commit 89d31ed4d17cc6d7066ca7696478e0768c505e89
|
||||
Subproject commit dd286608fc7a492c59385bcc0238dda1476ff5db
|
||||
|
|
@ -572,6 +572,10 @@
|
|||
|
||||
(= [1 2 3] (iterator-seq (iter [1 2 3])))"))))
|
||||
|
||||
(deftest var-print-method-test
|
||||
(when test-utils/native?
|
||||
(is (bb nil "(defmethod print-method sci.lang.IVar [o w] (.write w (str :foo (symbol o)))) (def x 1) (= \":foouser/x\" (pr-str #'x))"))))
|
||||
|
||||
;;;; Scratch
|
||||
|
||||
(comment
|
||||
|
|
|
|||
Loading…
Reference in a new issue