diff options
| author | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-12-14 23:31:06 +0530 |
|---|---|---|
| committer | Shagun Agrawal <agrawalshagun07@gmail.com> | 2024-12-14 23:31:06 +0530 |
| commit | 3d60213c01955e54e8e33b88108b4251197fde86 (patch) | |
| tree | 7acfca5cd4bf2c4cf738e03cb6d4fd372f02306c /src/cljcc/analyze | |
| parent | 837d5c5d0a2704ebfe48de3799936bf98330e134 (diff) | |
Add code emission for long type
Finish chapter 11
Fix several bugs caused due to refactoring
Add code emission for longs
Diffstat (limited to 'src/cljcc/analyze')
| -rw-r--r-- | src/cljcc/analyze/typecheck.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cljcc/analyze/typecheck.clj b/src/cljcc/analyze/typecheck.clj index 31e715e..a5afc59 100644 --- a/src/cljcc/analyze/typecheck.clj +++ b/src/cljcc/analyze/typecheck.clj @@ -212,7 +212,7 @@ {t-then :statement m :ident->symbol} (typecheck-statement return-type then-statement m) {t-else :statement - m :ident->symbol} (typecheck-statement return-type then-statement m)] + m :ident->symbol} (typecheck-statement return-type else-statement m)] {:statement (p/if-statement-node t-condition t-then t-else) :ident->symbol m}) (let [t-condition (typecheck-exp condition m) |
