Closed jovial closed 3 years ago
Original codes are not correct:
var y = aimp[int]
var z = bimp
for x in z(y):
echo x
It should give another parameters(int type) to z
.
For example:
var y = aimp[int]
var z = bimp
for x in z(y, 1):
echo x
which works since Nim v1.2.6
This gives:
Uncommenting #var x = y(z), yields:
which seems incorrect.