summaryrefslogtreecommitdiff
path: root/module/language/ecmascript/compile-ghil.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/language/ecmascript/compile-ghil.scm')
-rw-r--r--module/language/ecmascript/compile-ghil.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/language/ecmascript/compile-ghil.scm b/module/language/ecmascript/compile-ghil.scm
index 1d1a94c69..3aa007a7e 100644
--- a/module/language/ecmascript/compile-ghil.scm
+++ b/module/language/ecmascript/compile-ghil.scm
@@ -89,7 +89,8 @@
(this
(@impl e l get-this '()))
((+ ,a)
- (make-ghil-inline e l 'add (list (comp a e) (make-ghil-quote e l 0))))
+ (make-ghil-inline e l 'add (list (@impl e l ->number (list (comp a e)))
+ (make-ghil-quote e l 0))))
((- ,a)
(make-ghil-inline e l 'sub (list (make-ghil-quote e l 0) (comp a e))))
((~ ,a)