Reword subscript out-of-bounds assertion

Changelog-None
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2025-07-28 14:36:11 -07:00
parent 474e2d8d57
commit f42ae0673d

View File

@@ -66,7 +66,7 @@ struct TagsSequence: Encodable, Sequence {
}
i += 1
}
precondition(false, "sequence subscript oob")
precondition(false, "Sequence subscript out of bounds")
// it seems like the compiler needs this or it gets bitchy
let nil_ptr = OpaquePointer(bitPattern: 0)
return .init(note: .init(note: .init(ptr: nil_ptr), size: 0, owned: true, key: nil), tag: .init(ptr: nil_ptr))