diff options
| author | Baitinq <[email protected]> | 2025-07-06 18:17:47 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-07-06 18:17:47 +0200 |
| commit | 9d67b769b14ad708f902346c0d21cb120c21c0a1 (patch) | |
| tree | 1d3dc8cb2305a0751af5a4e3813c7d226a191a05 /examples/-1.pry | |
| parent | Boostrap: Improve parser and codegen function calls values (diff) | |
| download | pry-lang-9d67b769b14ad708f902346c0d21cb120c21c0a1.tar.gz pry-lang-9d67b769b14ad708f902346c0d21cb120c21c0a1.tar.bz2 pry-lang-9d67b769b14ad708f902346c0d21cb120c21c0a1.zip | |
Boostrap: Improve codegen for function declaration (starting to work on params)
Diffstat (limited to 'examples/-1.pry')
| -rw-r--r-- | examples/-1.pry | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/-1.pry b/examples/-1.pry index 5d7b65c..f5b7928 100644 --- a/examples/-1.pry +++ b/examples/-1.pry @@ -6,8 +6,8 @@ let test = () => i64 { return 2; }; -let main = () => i64 { - printf("HELLO WORLD!\n"); +let main = (argc: i64) => i64 { + printf("HELLO WORLD %d!\n", argc); return test(); }; |