// An ARRAY-typed `::` const (`K : [4]s64 : .[...]`) is not a supported // module-const shape — its own module's read diagnoses cleanly as // unresolved. The own author OWNS the name: the read must never borrow // another module's same-named scalar const (which used to type `K[2]` // against the scalar and panic at LLVM emission). // // Regression (issue 0115). When array `::` consts land, repoint this // example at the new behavior. #import "modules/std.sx"; h :: #import "0837-modules-array-const-no-cross-borrow/h.sx"; K : s64 : 4; main :: () { print("{}\n", h.use_k()); }