In this example https://play.nim-lang.org/#ix=3H7u:
import sequtils
let foo = @["It", "was", "a", "bright", "cold", "day", "in", "April."]
echo foo.map(proc(y:auto): auto = len(y))
echo foo.map(proc[T](y:T): auto = len(y))
This is a minimal toy example born out of a discord discussion. The second echo generates: (6, 19) Error: expected: ')', but got: '['
Is this a compiler bug? It seems like the procs should be equivalent.