add support for super update and assignment expressions - fixes #426

This commit is contained in:
Sebastian McKenzie
2015-04-02 02:21:04 +11:00
parent 269587cde5
commit 3c343adf33
8 changed files with 77 additions and 28 deletions

View File

@@ -6,8 +6,6 @@ var _get = function get(object, property, receiver) { var desc = Object.getOwnPr
var o = _obj = {
m: function m() {
var _this = this;
return _get(Object.getPrototypeOf(_obj), "x", this);
}
};

View File

@@ -1,9 +1,9 @@
"use strict";
var _temp;
var Foo = (function (_Bar) {
function Foo() {
var _temp;
babelHelpers.classCallCheck(this, Foo);
foo((_temp = babelHelpers.get(Object.getPrototypeOf(Foo.prototype), "constructor", this).call(this), this.bar = "foo", _temp));

View File

@@ -45,8 +45,6 @@ require("./_transformation-helper")({
"Classes/NestedClassSuperAnimal",
// TODO: #426
"Classes/SuperUnary",
"Classes/SuperPostfix",
// TODO: investigate
"Classes/SuperSet",