about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-02-14 00:48:43 +0100
committerBaitinq <[email protected]>2025-02-14 00:48:43 +0100
commitc09d642d7ffcf3889b222ef8285188566942263f (patch)
tree484beb9e5e00b96e1ccc7a685845e35168a6d992 /examples
parentCodegen: Fix bug when reassigning variables (diff)
downloadpry-lang-c09d642d7ffcf3889b222ef8285188566942263f.tar.gz
pry-lang-c09d642d7ffcf3889b222ef8285188566942263f.tar.bz2
pry-lang-c09d642d7ffcf3889b222ef8285188566942263f.zip
Examples: Update initial example with types
Diffstat (limited to 'examples')
-rw-r--r--examples/-1.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/-1.src b/examples/-1.src
index 874d7ad..67db0a6 100644
--- a/examples/-1.src
+++ b/examples/-1.src
@@ -1,5 +1,5 @@
 /* HELLO! Welcome to the unnamed language */
 
-let main = () => {
+let main = () => i8 {
 	return 7;
 };