From bf804fa1e18c717cec3944f5edea858a2f3a015d Mon Sep 17 00:00:00 2001
From: Kimplul <kimi.h.kuparinen@gmail.com>
Date: Sat, 28 Dec 2024 16:40:41 +0200
Subject: enough type checking for all examples to pass

---
 examples/guard.fwd | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'examples/guard.fwd')

diff --git a/examples/guard.fwd b/examples/guard.fwd
index 6af570d..cf9578e 100644
--- a/examples/guard.fwd
+++ b/examples/guard.fwd
@@ -1,7 +1,6 @@
-/* 'any' doesn't actually exist but at the moment I'm not checking types so as
- * long as there's some type identifier here the compiler will not complain,
- * will eventually have to fix */
-fwd_println(any a);
+/* 'auto' is a special type that currently is in place of generics, will
+ * eventually be replaced but this is good enough to play around with */
+fwd_println(auto s);
 
 guard(bool cond, () err, () ok)
 {
-- 
cgit v1.2.3