slot-ref, slot-set! et al bypass "using-class" variants
authorAndy Wingo <wingo@pobox.com>
Fri, 16 Jan 2015 11:55:48 +0000 (12:55 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 23 Jan 2015 15:16:03 +0000 (16:16 +0100)
commitf15c0f545be3dd4b1da92824b1bf782e3571b4a6
tree99aa73c3dcebda792059a1c35b40d6d1e1389d8f
parent761338f60c3b61d210c1e2a85a00668843012681
slot-ref, slot-set! et al bypass "using-class" variants

* module/oop/goops.scm (slot-ref, slot-set!, slot-bound?, slot-exists?):
  Bypass slot-ref-using-class, slot-set-using-class!, and so on.  Those
  interfaces are public and have to check that the class is indeed a
  class, they should check that the object is an instance of the class,
  and so on, whereas if we get the class via class-of we know that the
  invariant holds.
module/oop/goops.scm