mjsonexternproc.nim 164 B

12345678910
  1. # Test case for https://github.com/nim-lang/Nim/issues/6385
  2. import json
  3. # export json
  4. proc foo*[T](a: T) =
  5. let params = %*{
  6. "data": [ 1 ]
  7. }
  8. echo $params