```nim type Foo*[I: static[int], A: static[array[I, int]]] = object curIndex: int proc next*[I: static[int], A: static[array[I, int]]](f: Foo[I, A]): string = discard ``` This yields: ``` test1.nim(1, 43) Error: cannot generate code for: I ``` Is this a bug or is it impossible to get working?