I'm using nim ver 1.0.2
I can compile this.
proc test[T](): void = let a: int Run
proc test[T](): void = let a: int
Is this a bug?
Thank you.
I think so. It's detected when you instantiate test:
proc test[T](): void = let a: int test[int]() Run
proc test[T](): void = let a: int test[int]()
Oh I see.