1
0
forked from Mirror/wren
Files
wren/test/function
Bob Nystrom a550d6cea4 Change how new operators are compiled.
Instead of an instruction that always instantiates an instance,
the "new" is compiled to a method call on the class, followed by a
method call on the (presumably) new instance.

The former lets built-in types like Fn do special stuff instead of
allocating an instance. In particular, it means:

  new Fn { ... }

can just return the block argument.
2014-04-02 17:42:30 -07:00
..
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-01-05 12:27:12 -08:00
2014-02-15 11:36:01 -08:00