diff options
author | Andrey R (cooldome) <ariabushenko@gmail.com> | 2020-11-24 12:11:13 +0000 |
---|---|---|
committer | Andrey R (cooldome) <ariabushenko@gmail.com> | 2020-11-24 12:11:13 +0000 |
commit | 9a2a83ad71ce3766a7b19d7a04613291e6007546 (patch) | |
tree | c65bdee328bcf5326f30be24e3be4e75049fc40f /tests | |
parent | baae8ef38fc932060f225c96146f4579135e1152 (diff) | |
download | Nim-9a2a83ad71ce3766a7b19d7a04613291e6007546.tar.gz |
Revert "fix #16110"
This reverts commit f8b9d8c1904c662f07e5ee1138357695a1df9ac3.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/macros/tgetimpl.nim | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/macros/tgetimpl.nim b/tests/macros/tgetimpl.nim index 54fd2b3e5..d231a4336 100644 --- a/tests/macros/tgetimpl.nim +++ b/tests/macros/tgetimpl.nim @@ -65,22 +65,3 @@ macro check_gen_proc(ex: typed): (bool, bool) = let a = @[1,2,3] assert: check_gen_proc(len(a)) == (false, true) - - -#--------------------------------------------------------------- -# issue #16110 - -macro check(x: type): untyped = - let z = getType(x) - let y = getImpl(z[1]) - echo z.treeRepr - expectKind(z[1], nnkSym) - expectKind(y[0], nnkSym) - doAssert(y[0] == z[1]) - -type - TirePtr = ptr object - code: int - -var z: TirePtr -check(typeof(z[])) \ No newline at end of file |