Closed davidmullen closed 6 months ago
Your PR fixed this properly.
BTW, how many other bugs did this ANSI test suite automated testing did find?
A lot of the stuff in the ANSI test suite actually has to do with implementation-dependent behavior. For example: What happens to a symbol when its home package gets deleted? That's implementation-dependent. So the actual bugs I can find mostly have to do with the type system, and in particular the integration of types and classes. Here we have:
> (subtypep 'simple-string 'string)
T
T
But then:
> (subtypep 'simple-string (find-class 'string))
NIL
T
This looks more like an historical accident than a conscious design decision. Integration of types and classes should be better indeed. I'll put it on the TODO list.
This was found through automated testing, namely the ANSI test suite.
The cause is the
array.elem
andarray.set
fields not being initialized.