From 3fa3c17a12cb52edbcc9890cad59d610e0360f90 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 22 Jan 2020 21:41:34 -0500 Subject: improved parsing fn types; fixed tests --- std/io.toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std') diff --git a/std/io.toc b/std/io.toc index ea45ce9..7507baf 100644 --- a/std/io.toc +++ b/std/io.toc @@ -1,6 +1,6 @@ pkg "io"; -c_putchar :: fn(i32) = #foreign "putchar", "libc.so.6"; +c_putchar :: fn(i32) i32 = #foreign "putchar", "libc.so.6"; #export puts ::= fn(x: []char) { each c := x { -- cgit v1.2.3