Using make-instance on a structure (method-traits)
Issue #3
resolved
In method.lisp, the function make-method-traits is calling make-instance with method-traits, which is a structure type. That is not defined in the common-lisp standard, and doesn't work on LispWorks at least. I don't see a reason why it shouldn't call make-method-traits
https://bitbucket.org/dfmorrison/roan/src/master/method.lisp#lines-681
I looked at other instances of make-instance, they all seem to be ok, i.e called with CLOS classes.
Comments (2)
-
-
repo owner - changed status to resolved
Thanks very much. I'm guessing this is detritus left over from when method-traits were formerly standard-objects instead of structs. Now fixed. Commit 396d529.
- Log in to comment
That is acually me.