diff options
author | Eduardo Julian | 2016-02-16 16:28:36 -0400 |
---|---|---|
committer | Eduardo Julian | 2016-02-16 16:28:36 -0400 |
commit | c399df2340112eb2e670eab62956b808fbfa0565 (patch) | |
tree | 85aa5770ffb43da319d14081a1c81a46d214980a | |
parent | c5073f565d2aba36e98060321f6ceda66644144b (diff) |
- [Bug Fix] Can no longer compile expressions that are at the top-level (unlike statements).
-rw-r--r-- | src/lux/compiler.clj | 4 |
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 |