Julian Graham <jool...@gmail.com> skribis: > From 16ef2df6cc206f829c3aff96b1b315ed6fb50c05 Mon Sep 17 00:00:00 2001 > From: Julian Graham <jool...@undecidable.net> > Date: Tue, 13 Sep 2016 08:39:43 -0400 > Subject: [PATCH] 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();"
Finally pushed to master, thanks! :-) Ludo’.