diff options
| author | Baitinq <[email protected]> | 2025-02-10 00:08:55 +0100 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2025-02-10 00:08:55 +0100 |
| commit | c26049d0c2a2d5661a1257f4047d714a273c6f28 (patch) | |
| tree | 2145d95cc6119ec1762de46e20ebc6566f0862cb /examples | |
| parent | Codegen: Random fixes (diff) | |
| download | pry-lang-c26049d0c2a2d5661a1257f4047d714a273c6f28.tar.gz pry-lang-c26049d0c2a2d5661a1257f4047d714a273c6f28.tar.bz2 pry-lang-c26049d0c2a2d5661a1257f4047d714a273c6f28.zip | |
Codegen: Fix SSA variable declaration
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/6.5.src | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/6.5.src b/examples/6.5.src new file mode 100644 index 0000000..9aa1cac --- /dev/null +++ b/examples/6.5.src @@ -0,0 +1,7 @@ +let main = () => { + let x = 1; + if x == 1 { + x = 2; + }; + return x; +}; |