From fa6d9cdf57db4244a331035d35d1b962630e3ae1 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Sat, 15 Feb 2025 10:56:08 +0100 Subject: Feature: Introduce initial support for function return types --- examples/11.src | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/11.src') diff --git a/examples/11.src b/examples/11.src index a572883..f859a0b 100644 --- a/examples/11.src +++ b/examples/11.src @@ -1,10 +1,10 @@ -let main = () => { - let x = (a) => { +let main = () => i64 { + let x = (a) => i64 { print(a); return 1; }; - let y = (f) => { + let y = (f) => i64 { return f(2); }; -- cgit 1.4.1