const default_cap: usize = 2 + 2 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: default_cap, items: [1, 2, 3, 4] } if first(&vec) == 1 { check world.out.write("static value params ok\n") } }