mighty-gerbils / gerbil

Gerbil Scheme
https://cons.io
GNU Lesser General Public License v2.1
1.16k stars 112 forks source link

Failure compiling #1144

Closed fare closed 9 months ago

fare commented 9 months ago

As a reduction of my failure to compile gerbil-persist/kvs-leveldb.ss's method {begin-transaction KvsLeveldb} here is a minimal file that compiles and works well with v0.18.1 but fails with master:

(defstruct Foo (a b))
(defmethod {frob Foo}
  (lambda (self)
    (Foo-b self)
    (def x (Foo-a self))
    0))
vyzo commented 9 months ago

I think I found the bug:

  (%#letrec-values*          collect-body-let-values%)

this should be %#letrec*-values.