jak-project/test/goalc/source_templates/control-statements/methods.static.gc
water111 425cc6794c
[Compiler] Bug fixes (#230)
* fix method name and use-after-free during compile error

* doc fix
2021-02-03 11:07:47 -05:00

8 lines
335 B
Common Lisp

(define format _format)
; no longer use process as a test type here because it's no longer built-in so is
; only forward declared at this point.
(format #t "~A~A~%" (eq? (-> type method-table 2) (method-of-type type print))
(eq? (-> string method-table 3) (method-of-object "test" inspect))
)
0