Ingvar Stepanyan
4c318166e1
Added complete TCO (tail call optimization).
...
Works across functions and generates simpler and faster code than #701 .
Works even across files when used in conjunction with `runtime` option.
Closes #256 .
2015-02-07 22:22:38 +02:00
Sebastian McKenzie
726451f86f
reverts d6b39bc89b6022aecf69da500deb5b88a0266b85
2015-02-07 09:54:18 +11:00
Sebastian McKenzie
d6b39bc89b
HomeObject isn't dynamic - fixes #690
2015-02-04 18:47:58 +11:00
Sebastian McKenzie
3a11c7d46b
as per "ES6 February 2, 2015 Draft Rev 32" "Constructors defined using class definition syntax throw when called as functions"
2015-02-03 15:16:16 +11:00
Sebastian McKenzie
bbbc9c0c5e
remove redundant enumerable: true property on class methods
2015-01-30 10:44:33 +11:00
Sebastian McKenzie
31df576d26
make class methods nonenumerable - fixes #639
2015-01-30 10:05:17 +11:00
Sebastian McKenzie
567479787b
update tests to reflect new helper compact behaviour
2015-01-26 11:48:35 +11:00
Sebastian McKenzie
44f06c0b4c
instance and static class method names
2015-01-15 02:24:23 +11:00
Sebastian McKenzie
ea627ed57c
don't use function variable declaration for class constructor
2015-01-13 00:03:52 +11:00
Sebastian McKenzie
76a3771943
change ambiguous _inherits parameters
2015-01-12 20:54:37 +11:00
Sebastian McKenzie
545c8c3adb
define class methods instead of assigning them - fixes #454
2015-01-12 11:44:23 +11:00
Sebastian McKenzie
54b05f33f2
move super reference into closure
2015-01-10 22:26:51 +11:00
Brian Donovan
28d10b8eb4
Ensure more than one level of superclass works.
2015-01-08 13:33:02 -08:00
Brian Donovan
07131576cf
Use undefined instead of void 0.
2015-01-08 11:59:01 -08:00
Brian Donovan
8c478f29bc
Use desc.writable instead of "writable" in desc as suggested by @stefanpenner.
2015-01-08 09:21:35 -08:00
Brian Donovan
324a4a1b22
Fix super with getters and setters and with class prototypes changing.
2015-01-07 21:10:36 -08:00
Sebastian McKenzie
5ce8ee6c2b
add inheritance type check to tests
2015-01-05 12:39:46 +11:00
Sebastian McKenzie
93ceafc732
better uid names
2015-01-02 03:53:28 +11:00
Sebastian McKenzie
b1d1909c64
forced closure on super classes - fixes #339
2015-01-02 01:59:42 +11:00
Sebastian McKenzie
694a8dc456
rename helper functions to be more reflective of what they do
2014-12-22 23:23:59 +11:00
Sebastian McKenzie
77f9596682
update classes tests to work with new _extends method
2014-12-14 14:49:37 +11:00
Sebastian McKenzie
833a4900da
remove IIFE on class declarations #288
2014-12-13 17:33:35 +11:00
Sebastian McKenzie
5bad458b09
Fix tests
2014-12-05 23:05:20 +11:00
Sebastian McKenzie
cc6d440f0e
update classes and destructuring test names
2014-11-23 16:17:49 +11:00