Files
jak-project/test/goalc/source_templates/with_game/test-access-inline-array.gc
T
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

19 lines
366 B
Common Lisp

(define format _format)
(let* ((print-method (method-of-type bfloat print))
(my-float (new 'global 'bfloat))
)
(set! (-> my-float data) 1.23456)
(print-method my-float)
(format #t "~%")
)
#|
(let ((x 0))
(while (< x 9)
(format #t "method ~d of ~A is ~A~%" x bfloat (-> bfloat method-table x))
(+1! x)
)
)
|#
0