diff options
| author | Baitinq <[email protected]> | 2025-02-15 10:56:08 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-02-15 11:00:04 +0100 |
| commit | fa6d9cdf57db4244a331035d35d1b962630e3ae1 (patch) | |
| tree | d3926279eb046bbc11d4102ba8b336d037596da1 /examples/2.src | |
| parent | Examples: Update initial example with types (diff) | |
| download | pry-lang-fa6d9cdf57db4244a331035d35d1b962630e3ae1.tar.gz pry-lang-fa6d9cdf57db4244a331035d35d1b962630e3ae1.tar.bz2 pry-lang-fa6d9cdf57db4244a331035d35d1b962630e3ae1.zip | |
Feature: Introduce initial support for function return types
Diffstat (limited to 'examples/2.src')
| -rw-r--r-- | examples/2.src | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/2.src b/examples/2.src index a25bea5..646f1fa 100644 --- a/examples/2.src +++ b/examples/2.src @@ -1,11 +1,9 @@ -let main = () => { +let main = () => i64 { let test = 1922; let uwu = test; - print(uwu); /* <- This is what triggers the problem */ + print(uwu); return 0; }; - -/* TODO */ |