You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeFoo=tuple
p, n: inttemplatet(p, n:int): Foo=var res: Foo
res.p = p
res.n = n
res # I'm not sure if it is needed for returning correctlyechot(3,3) # Error: identifier expected, but found '3'
This forces the interface of the template (if using named parameters) to be different than the type/tuple interface (getting field values).