This works (spec (vector* ubyte))
but adding another spec layer breaks it: (spec (spec (vector* ubyte)))
Exception: java.lang.IllegalArgumentException: No implementation of method: :size of protocol: #'octet.spec/ISpecSize found for class: octet.spec.collections$vector_STAR_$reify__5878
A quick fix seems to be changing the propagation of size to prioritize size* when available:
|
(if (satisfies? ISpecSize type) |