You have to do `.to[:typeof(dictionary)]`, the colon after the `[` indicates 
that it is supplying generic arguments instead of doing array subscript access. 
The last paragraph here is reference: 
[https://nim-lang.org/docs/manual.html#procedures-method-call-syntax](https://nim-lang.org/docs/manual.html#procedures-method-call-syntax)

Reply via email to