aboutsummaryrefslogtreecommitdiff
path: root/test2.lang
diff options
context:
space:
mode:
authorEduardo Julian2014-12-21 00:20:15 -0400
committerEduardo Julian2014-12-21 00:20:15 -0400
commit42940f107ebd3aa944ea06d4d4a577e58a3eeea7 (patch)
tree7db9b11cb7d71180e528593b428e4fd9d9bfee3b /test2.lang
parent74d3233f7d7984ebcef0d4e6778f0596e867de6c (diff)
Now compiling module contants as separate classes with single data fields.
Diffstat (limited to 'test2.lang')
-rw-r--r--test2.lang2
1 files changed, 1 insertions, 1 deletions
diff --git a/test2.lang b/test2.lang
index 90db0230b..a7892945f 100644
--- a/test2.lang
+++ b/test2.lang
@@ -23,7 +23,7 @@
(def (main args)
(if true
(let f (lambda [x] (lambda [y] (x y)))
- (let g (lambda [x] x)
+ (let g (lambda [x] const)
(:: (:: System out) (println (f g "WE'VE GOT CLOSURES!")))))
(:: (:: System out) (println "FALSE"))))