summary refs log tree commit diff stats
path: root/tests/lookups/test.nim
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2024-09-27 12:11:21 +0300
committerGitHub <noreply@github.com>2024-09-27 11:11:21 +0200
commitdc3ffb6a71f36e3cfd1fc001d128a86b46c88e7a (patch)
tree29dd695e873bb786de7bdc2e4d3ea55a5722ec3d /tests/lookups/test.nim
parent56a3dd57fb038cab2d00f6415435e701d2273573 (diff)
downloadNim-dc3ffb6a71f36e3cfd1fc001d128a86b46c88e7a.tar.gz
consider calling convention and iterator in getType for procs (#24181)
fixes #19010

`getType` for proc types generated an `nkProcTy` for iterator types
instead of `nkIteratorTy`, and didn't generate a calling convention
pragma unless it was in the proc AST. Iterator types now generate
`nkIteratorTy`, and a calling convention pragma is added if the calling
convention isn't `closure` or was explicitly provided.
Diffstat (limited to 'tests/lookups/test.nim')
0 files changed, 0 insertions, 0 deletions