const cap: usize = 4 type FixedVec { len: usize, items: [N]T, } fn first(vec: ref>) -> T { return vec.items[0] } pub fn main(world: World) -> Void raises { let vec: FixedVec = FixedVec { len: cap, items: [1, 2, 3, 4] } if first(&vec) == 1 { check world.out.write("static value params check\n") } }