From e55f5d1fd4111c2112ef9139d776b23dd7a45497 Mon Sep 17 00:00:00 2001 From: Araq Date: Mon, 20 Apr 2015 21:25:49 +0200 Subject: fixes #2505, fixes #1853, fixes #2522 --- tests/macros/typesapi2.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/macros') 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] -- cgit 1.4.1-2-gfad0