aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2016-02-16 16:28:36 -0400
committerEduardo Julian2016-02-16 16:28:36 -0400
commitc399df2340112eb2e670eab62956b808fbfa0565 (patch)
tree85aa5770ffb43da319d14081a1c81a46d214980a
parentc5073f565d2aba36e98060321f6ceda66644144b (diff)
- [Bug Fix] Can no longer compile expressions that are at the top-level (unlike statements).
Diffstat (limited to '')
-rw-r--r--src/lux/compiler.clj4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lux/compiler.clj b/src/lux/compiler.clj
index 4323317cc..60ae32558 100644
--- a/src/lux/compiler.clj
+++ b/src/lux/compiler.clj
@@ -435,9 +435,7 @@
(&o/$jvm-class ?name ?super-class ?interfaces ?anns ?inheritance-modifier ?fields ?methods ??env ??ctor-args)
(&&host/compile-jvm-class compile-expression ?name ?super-class ?interfaces ?anns ?inheritance-modifier ?fields ?methods ??env ??ctor-args)
-
- _
- (compile-expression syntax)))
+ ))
(defn ^:private eval! [expr]
(&/with-eval