aboutsummaryrefslogtreecommitdiff
path: root/src/lux/compiler/lambda.clj
diff options
context:
space:
mode:
authorEduardo Julian2015-04-09 02:04:54 -0400
committerEduardo Julian2015-04-09 02:04:54 -0400
commited1163370cd37f15d18e2b3d6cb6ecc13cd50243 (patch)
tree873a1679945842daa42d7f99373b9c82917af5db /src/lux/compiler/lambda.clj
parent36ba345de7e20ad1a51f5ab05ce10931dba04771 (diff)
- Function names & parameters now take prefixes into account.
- Added more cases for totality checking in pattern-matching. - Fixed a bug when type-checking function application that used the exo-type for both the function being applied as to the application itself. - Fixed a few minor bugs scattered around that had to do with wrong number of arguments being passed to functions.
Diffstat (limited to '')
-rw-r--r--src/lux/compiler/lambda.clj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lux/compiler/lambda.clj b/src/lux/compiler/lambda.clj
index b914eb87b..c75ec4806 100644
--- a/src/lux/compiler/lambda.clj
+++ b/src/lux/compiler/lambda.clj
@@ -97,8 +97,8 @@
(return nil)))
;; [Exports]
-(defn compile-lambda [compile ?scope ?env ?arg ?body]
- ;; (prn 'compile-lambda ?scope (&host/location ?scope) ?arg ?env)
+(defn compile-lambda [compile ?scope ?env ?body]
+ ;; (prn 'compile-lambda ?scope (&host/location ?scope) ?env)
(|do [:let [lambda-class (&host/location ?scope)
=class (doto (new ClassWriter ClassWriter/COMPUTE_MAXS)
(.visit Opcodes/V1_5 (+ Opcodes/ACC_PUBLIC Opcodes/ACC_FINAL Opcodes/ACC_SUPER)