1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
guile/module/language/ecmascript
Julian Graham 9807d2dced Fix tree-il code generation for ECMAscript `new' expression.
The compiler was producing `((toplevel foo))' instead of `(toplevel foo)'.
Changed to use `call' form with target type and spliced constructor
arguments.

* module/language/ecmascript/compile-tree-il.scm (comp): Replace `@impl'
  shorthand with `call' + `@implv' for better control over resulting
  tree-il.
* test-suite/tests/ecmascript.test (compiler): Add test for "new Object();"

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-10-25 23:39:30 +02:00
..
array.scm fix array bugs in ecmascript 2010-03-31 22:31:11 +02:00
base.scm The GOOPS "unbound" value is a unique pair 2015-01-23 16:16:03 +01:00
compile-tree-il.scm Fix tree-il code generation for ECMAscript `new' expression. 2016-10-25 23:39:30 +02:00
function.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
impl.scm Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
parse.scm Parse Decimal Numbers 2011-01-26 23:47:29 +01:00
spec.scm remove `version' field from <language> 2010-05-02 11:19:13 +02:00
tokenize.scm Fix Hex Constants 2011-01-26 23:45:33 +01:00