mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 08:54:53 +00:00
* Reorder json `add` and `%`, fixes https://github.com/nim-lang/Nim/issues/6385 * rename json test files
10 lines
164 B
Nim
10 lines
164 B
Nim
# Test case for https://github.com/nim-lang/Nim/issues/6385
|
|
|
|
import json
|
|
# export json
|
|
|
|
proc foo*[T](a: T) =
|
|
let params = %*{
|
|
"data": [ 1 ]
|
|
}
|
|
echo $params |