diff options
| author | Baitinq <[email protected]> | 2025-07-06 15:47:39 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-07-06 15:47:39 +0200 |
| commit | 469e0b26906a3ffb8d594ae5438039ef0af5f9b5 (patch) | |
| tree | 117b622799287155907d42ee72d256cd0eb2d617 /examples | |
| parent | Codegen: Fix pointer assignment type checking (diff) | |
| download | pry-lang-469e0b26906a3ffb8d594ae5438039ef0af5f9b5.tar.gz pry-lang-469e0b26906a3ffb8d594ae5438039ef0af5f9b5.tar.bz2 pry-lang-469e0b26906a3ffb8d594ae5438039ef0af5f9b5.zip | |
Boostrap: Improve parser and codegen function calls values
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/-1.pry | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/-1.pry b/examples/-1.pry index 0f33c37..5d7b65c 100644 --- a/examples/-1.pry +++ b/examples/-1.pry @@ -2,9 +2,13 @@ extern printf = (*i8, varargs) => void; +let test = () => i64 { + return 2; +}; + let main = () => i64 { printf("HELLO WORLD!\n"); - return 7; + return test(); }; /* |