@@ -10,7 +10,7 @@ class B extends A {
10
10
// async method with only call/get on 'super' does not require a binding
11
11
async simple ( ) {
12
12
const _super = null ;
13
- const _superProps = null ;
13
+ const _superIndex = null ;
14
14
// call with property access
15
15
super . x ( ) ;
16
16
// call additional property.
@@ -29,7 +29,7 @@ class B extends A {
29
29
// async method with assignment/destructuring on 'super' requires a binding
30
30
async advanced ( ) {
31
31
const _super = null ;
32
- const _superProps = null ;
32
+ const _superIndex = null ;
33
33
const f = ( ) => { } ;
34
34
35
35
// call with property access
@@ -77,29 +77,29 @@ class A {
77
77
class B extends A {
78
78
// async method with only call/get on 'super' does not require a binding
79
79
simple ( ) {
80
- const _superIndex = name => super [ name ] ;
80
+ const _superIndex_1 = name => super [ name ] ;
81
81
const _super_1 = Object . create ( null , {
82
82
x : { get : ( ) => super . x } ,
83
83
y : { get : ( ) => super . y }
84
84
} ) ;
85
85
return __awaiter ( this , void 0 , void 0 , function * ( ) {
86
86
const _super = null ;
87
- const _superProps = null ;
87
+ const _superIndex = null ;
88
88
// call with property access
89
89
_super_1 . x . call ( this ) ;
90
90
// call additional property.
91
91
_super_1 . y . call ( this ) ;
92
92
// call with element access
93
- _superIndex ( "x" ) . call ( this ) ;
93
+ _superIndex_1 ( "x" ) . call ( this ) ;
94
94
// property access (read)
95
95
const a = _super_1 . x ;
96
96
// element access (read)
97
- const b = _superIndex ( "x" ) ;
97
+ const b = _superIndex_1 ( "x" ) ;
98
98
} ) ;
99
99
}
100
100
// async method with assignment/destructuring on 'super' requires a binding
101
101
advanced ( ) {
102
- const _superIndex = ( function ( geti , seti ) {
102
+ const _superIndex_1 = ( function ( geti , seti ) {
103
103
const cache = Object . create ( null ) ;
104
104
return name => cache [ name ] || ( cache [ name ] = { get value ( ) { return geti ( name ) ; } , set value ( v ) { seti ( name , v ) ; } } ) ;
105
105
} ) ( name => super [ name ] , ( name , value ) => super [ name ] = value ) ;
@@ -108,24 +108,24 @@ class B extends A {
108
108
} ) ;
109
109
return __awaiter ( this , void 0 , void 0 , function * ( ) {
110
110
const _super = null ;
111
- const _superProps = null ;
111
+ const _superIndex = null ;
112
112
const f = ( ) => { } ;
113
113
// call with property access
114
114
_super_1 . x . call ( this ) ;
115
115
// call with element access
116
- _superIndex ( "x" ) . value . call ( this ) ;
116
+ _superIndex_1 ( "x" ) . value . call ( this ) ;
117
117
// property access (read)
118
118
const a = _super_1 . x ;
119
119
// element access (read)
120
- const b = _superIndex ( "x" ) . value ;
120
+ const b = _superIndex_1 ( "x" ) . value ;
121
121
// property access (assign)
122
122
_super_1 . x = f ;
123
123
// element access (assign)
124
- _superIndex ( "x" ) . value = f ;
124
+ _superIndex_1 ( "x" ) . value = f ;
125
125
// destructuring assign with property access
126
126
( { f : _super_1 . x } = { f } ) ;
127
127
// destructuring assign with element access
128
- ( { f : _superIndex ( "x" ) . value } = { f } ) ;
128
+ ( { f : _superIndex_1 ( "x" ) . value } = { f } ) ;
129
129
} ) ;
130
130
}
131
131
}
0 commit comments