aboutsummaryrefslogtreecommitdiff
path: root/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux
diff options
context:
space:
mode:
Diffstat (limited to 'new-luxc/source/luxc/lang/translation/php/eval.jvm.lux')
-rw-r--r--new-luxc/source/luxc/lang/translation/php/eval.jvm.lux14
1 files changed, 3 insertions, 11 deletions
diff --git a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux
index ba9220f57..c6ff1a880 100644
--- a/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux
+++ b/new-luxc/source/luxc/lang/translation/php/eval.jvm.lux
@@ -128,20 +128,12 @@
(let [interpreter (|> compiler (get@ #.host) (:! //.Host) (get@ #//.interpreter))]
(case (interpreter code)
(#e.Error error)
- (exec (log! (format "eval #e.Error\n"
- "<< " (_.expression code) "\n"
- error))
- ((lang.throw Cannot-Evaluate error) compiler))
+ ((lang.throw Cannot-Evaluate error) compiler)
(#e.Success output)
(case (lux-object output)
(#e.Success parsed-output)
- (exec ## (log! (format "eval #e.Success\n"
- ## "<< " (_.expression code)))
- (#e.Success [compiler parsed-output]))
+ (#e.Success [compiler parsed-output])
(#e.Error error)
- (exec (log! (format "eval #e.Error\n"
- "<< " (_.expression code) "\n"
- error))
- ((lang.throw Cannot-Evaluate error) compiler)))))))
+ ((lang.throw Cannot-Evaluate error) compiler))))))