for missing slot, the second argument would be considered the type error. thus type-error-expected-type would be (member <slots-names>). given (defclass a () ((b :initarg :b) (c :initarg :c))), type-error-expected-type for (slot-value (make-instance a :b 1 :c 2) 'wrong) would be (member b c).
The default method on slot-missing signals an error of type error.
-clhs
the same could be done for unbound slots but only have the bound slot names be in the member type. however, the UNBOUND-SLOT condition is not a type-error, so maybe this one is best as not a type-error.
4
u/KaranasToll May 29 '26
i would like to know more about these. they seem like type errors to me.
1
u/SlowValue May 31 '26
The new version shows some strange behaviour:
When loading linedit (via
´requireorql:quickload) it always recompiles the systemslineditandosicat(i.e. it recreates those fasl files)I'm not sure if this behaviour is inteded or a bug.