Skip to content

Commit 536c61e

Browse files
committed
Treat vectors and immutable vectors the same wrt. type-of.
1 parent 9368572 commit 536c61e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/LispKit/Primitives/TypeLibrary.swift

+2
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,8 @@ public final class TypeLibrary: NativeLibrary {
262262
switch coll.kind {
263263
case .vector:
264264
return .symbol(self.vector)
265+
case .immutableVector:
266+
return .symbol(self.vector)
265267
case .growableVector:
266268
return .symbol(self.gvector)
267269
default:

0 commit comments

Comments
 (0)