diff options
author | Araq <rumpf_a@web.de> | 2015-04-20 21:25:49 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-04-20 21:25:49 +0200 |
commit | e55f5d1fd4111c2112ef9139d776b23dd7a45497 (patch) | |
tree | a2ca3792b1f7fa808e79bd84157c919be700e715 /tests/macros | |
parent | daefc2567b267182cfd29982594583b4627be54b (diff) | |
download | Nim-e55f5d1fd4111c2112ef9139d776b23dd7a45497.tar.gz |
fixes #2505, fixes #1853, fixes #2522
Diffstat (limited to 'tests/macros')
-rw-r--r-- | tests/macros/typesapi2.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/macros/typesapi2.nim b/tests/macros/typesapi2.nim index 016295ba4..2e59d2154 100644 --- a/tests/macros/typesapi2.nim +++ b/tests/macros/typesapi2.nim @@ -1,4 +1,4 @@ -# tests to see if a symbol returned from macros.getType() can +# tests to see if a symbol returned from macros.getType() can # be used as a type import macros @@ -20,7 +20,7 @@ static: assert iii is TestFN proc foo11 : testTypesym(void) = echo "HI!" -static: assert foo11 is proc():void +static: assert foo11 is (proc():void {.nimcall.}) var sss: testTypesym(seq[int]) static: assert sss is seq[int] |