Nim backports 1.6
git log --oneline --pretty="format:%m https://github.com/nim-lang/Nim/commit/%H %s" --left-right --cherry-pick devel...origin/version-1-6
[ ] - https://github.com/nim-lang/Nim/commit/16f42084d32144d5afb2a5cc3a5a833e5295a8bc fixes #20900; Calling template through from generic function across module fails to build (#21649)
[ ] - https://github.com/nim-lang/Nim/commit/be06446ffecd7665651a25d6b07fade5cc019296 fix #15691 (#21623)
[ ] - https://github.com/nim-lang/Nim/commit/5e016e4466151ddb86a72a46cc2bbf83dfd6dfe3 fixes #21638; fromJson should support empty objects (#21641)
[ ] - https://github.com/nim-lang/Nim/commit/686c75cef032481630e27dad3731df98e067b75e for loop expression can now have generated iterator's called (#21627)
[ ] - https://github.com/nim-lang/Nim/commit/a37a83cbff89867be9cbc5ba2f50c37e99efe0f1 fixes #21617; createTypeBoundOps with PContext in order to instantiate generics (#21619)
[ ] - https://github.com/nim-lang/Nim/commit/814d3e6818b6c4ed976818ecf525a599502e080e fix #19430 (#21603)
[ ] - https://github.com/nim-lang/Nim/commit/c06623bf8ccfccf4788e9f4d2f044ab1bde6fe46 Fix segfault caused by ensuring valueless statics are not evaluated (#21577)