1.13: docstring on two const OffsetVectors

I have a program which I think was working in Julia 1.12, but when I upgraded to 1.13 it fails to compile. The offending lines are these:

"""
    ptable::OffsetArray(::Vector{UInt16}, 0:1023)

Given the ten-bit code for a permutation, look up the 15-bit permoct code if it's
canonical, and another ten-bit code for the same permutation, with the high bit
set, if it isn't. Repeated lookup of codes with the high bit set will eventually
find the canonical code.
"""
const (ptable,invPerm)=makeperms()

ptable and invPerm are both OffsetVectors with indices from 0 to 1023. How can I rewrite it so that it compiles?

What error do you get? How and where is makeperms defined? Is it your own analysis or an LLM that has located these lines as problematic?

(Yes, many questions, but there’s just not nearly enough information to venture any answers.)