@@ -228,198 +228,8 @@ Point.prototype = {
228
228
229
229
interface A { x : string ; }
230
230
interface B extends A { }
231
- var x: B = { } ;
231
+ var x: B = { } ;
232
+
232
233
233
234
//// [contextualTyping.js]
234
- var C1T5 = (function () {
235
- function C1T5 ( ) {
236
- this . foo = function ( i ) {
237
- return i ;
238
- } ;
239
- }
240
- return C1T5 ;
241
- } )();
242
- var C2T5;
243
- (function (C2T5) {
244
- C2T5 . foo = function ( i ) {
245
- return i ;
246
- } ;
247
- } )(C2T5 || (C2T5 = { } ));
248
- var c3t1 = (function (s) {
249
- return s ;
250
- } );
251
- var c3t2 = ({
252
- n : 1
253
- } );
254
- var c3t3 = [];
255
- var c3t4 = function () {
256
- return ( { } ) ;
257
- } ;
258
- var c3t5 = function (n) {
259
- return ( { } ) ;
260
- } ;
261
- var c3t6 = function (n, s) {
262
- return ( { } ) ;
263
- } ;
264
- var c3t7 = function (n) {
265
- return n ;
266
- } ;
267
- var c3t8 = function (n) {
268
- return n ;
269
- } ;
270
- var c3t9 = [[], []];
271
- var c3t10 = [({ } ), ({ } )];
272
- var c3t11 = [function (n, s) {
273
- return s ;
274
- } ];
275
- var c3t12 = {
276
- foo : ( { } )
277
- } ;
278
- var c3t13 = ({
279
- f : function ( i , s ) {
280
- return s ;
281
- }
282
- } );
283
- var c3t14 = ({
284
- a : [ ]
285
- } );
286
- var C4T5 = (function () {
287
- function C4T5 ( ) {
288
- this . foo = function ( i , s ) {
289
- return s ;
290
- } ;
291
- }
292
- return C4T5 ;
293
- } )();
294
- var C5T5;
295
- (function (C5T5) {
296
- C5T5 . foo ;
297
- C5T5 . foo = function ( i , s ) {
298
- return s ;
299
- } ;
300
- } )(C5T5 || (C5T5 = { } ));
301
- var c6t5;
302
- c6t5 = function (n) {
303
- return ( { } ) ;
304
- } ;
305
- var c7t2;
306
- c7t2[0] = ({ n : 1 } );
307
- var objc8 = ({ } );
308
- objc8.t1 = (function (s) {
309
- return s ;
310
- } );
311
- objc8.t2 = ({
312
- n : 1
313
- } );
314
- objc8.t3 = [];
315
- objc8.t4 = function () {
316
- return ( { } ) ;
317
- } ;
318
- objc8.t5 = function (n) {
319
- return ( { } ) ;
320
- } ;
321
- objc8.t6 = function (n, s) {
322
- return ( { } ) ;
323
- } ;
324
- objc8.t7 = function (n) {
325
- return n ;
326
- } ;
327
- objc8.t8 = function (n) {
328
- return n ;
329
- } ;
330
- objc8.t9 = [[], []];
331
- objc8.t10 = [({ } ), ({ } )];
332
- objc8.t11 = [function (n, s) {
333
- return s ;
334
- } ];
335
- objc8.t12 = {
336
- foo : ( { } )
337
- } ;
338
- objc8.t13 = ({
339
- f : function ( i , s ) {
340
- return s ;
341
- }
342
- } );
343
- objc8.t14 = ({
344
- a : [ ]
345
- } );
346
- function c9t5(f) {
347
- }
348
- ;
349
- c9t5(function (n) {
350
- return ( { } ) ;
351
- } );
352
- var c10t5 = function () {
353
- return function ( n ) {
354
- return ( { } ) ;
355
- } ;
356
- } ;
357
- var C11t5 = (function () {
358
- function C11t5 ( f ) {
359
- }
360
- return C11t5 ;
361
- } )();
362
- ;
363
- var i = new C11t5(function (n) {
364
- return ( { } ) ;
365
- } );
366
- var c12t1 = (function (s) {
367
- return s ;
368
- } );
369
- var c12t2 = ({
370
- n : 1
371
- } );
372
- var c12t3 = [];
373
- var c12t4 = function () {
374
- return ( { } ) ;
375
- } ;
376
- var c12t5 = function (n) {
377
- return ( { } ) ;
378
- } ;
379
- var c12t6 = function (n, s) {
380
- return ( { } ) ;
381
- } ;
382
- var c12t7 = function (n) {
383
- return n ;
384
- } ;
385
- var c12t8 = function (n) {
386
- return n ;
387
- } ;
388
- var c12t9 = [[], []];
389
- var c12t10 = [({ } ), ({ } )];
390
- var c12t11 = [function (n, s) {
391
- return s ;
392
- } ];
393
- var c12t12 = {
394
- foo : ( { } )
395
- } ;
396
- var c12t13 = ({
397
- f : function ( i , s ) {
398
- return s ;
399
- }
400
- } );
401
- var c12t14 = ({
402
- a : [ ]
403
- } );
404
- function EF1(a, b) {
405
- return a + b ;
406
- }
407
- var efv = EF1(1, 2);
408
- function Point(x, y) {
409
- this . x = x ;
410
- this . y = y ;
411
- return this ;
412
- }
413
- Point.origin = new Point(0, 0);
414
- Point.prototype.add = function (dx, dy) {
415
- return new Point ( this . x + dx , this . y + dy ) ;
416
- } ;
417
- Point.prototype = {
418
- x : 0 ,
419
- y : 0 ,
420
- add : function ( dx , dy ) {
421
- return new Point ( this . x + dx , this . y + dy ) ;
422
- }
423
- } ;
424
- var x = { } ;
425
- //# sourceMappingURL=contextualTyping.js.map
235
+ var C1T5 = (function () { \n function C1T5 ( ) { \n this . foo = function ( i ) { \n return i ; \n } ; \n } \n return C1T5 ; \n} ) ( ) ; \nvar C2T5 ; \n( function ( C2T5 ) { \n C2T5 . foo = function ( i ) { \n return i ; \n } ; \n} ) ( C2T5 || ( C2T5 = { } ) ) ; \nvar c3t1 = ( function ( s ) { \n return s ; \n} ) ; \nvar c3t2 = ( { \n n : 1 \n} ) ; \nvar c3t3 = [ ] ; \nvar c3t4 = function ( ) { \n return ( { } ) ; \n} ; \nvar c3t5 = function ( n ) { \n return ( { } ) ; \n} ; \nvar c3t6 = function ( n , s ) { \n return ( { } ) ; \n} ; \nvar c3t7 = function ( n ) { \n return n ; \n} ; \nvar c3t8 = function ( n ) { \n return n ; \n} ; \nvar c3t9 = [ [ ] , [ ] ] ; \nvar c3t10 = [ ( { } ) , ( { } ) ] ; \nvar c3t11 = [ function ( n , s ) { \n return s ; \n} ] ; \nvar c3t12 = { \n foo : ( { } ) \n} ; \nvar c3t13 = ( { \n f : function ( i , s ) { \n return s ; \n } \n} ) ; \nvar c3t14 = ( { \n a : [ ] \n} ) ; \nvar C4T5 = ( function ( ) { \n function C4T5 ( ) { \n this . foo = function ( i , s ) { \n return s ; \n } ; \n } \n return C4T5 ; \n} ) ( ) ; \nvar C5T5 ; \n( function ( C5T5 ) { \n C5T5 . foo ; \n C5T5 . foo = function ( i , s ) { \n return s ; \n } ; \n} ) ( C5T5 || ( C5T5 = { } ) ) ; \nvar c6t5 ; \nc6t5 = function ( n ) { \n return ( { } ) ; \n} ; \nvar c7t2 ; \nc7t2 [ 0 ] = ( { n : 1 } ) ; \nvar objc8 = ( { } ) ; \nobjc8 . t1 = ( function ( s ) { \n return s ; \n} ) ; \nobjc8 . t2 = ( { \n n : 1 \n} ) ; \nobjc8 . t3 = [ ] ; \nobjc8 . t4 = function ( ) { \n return ( { } ) ; \n} ; \nobjc8 . t5 = function ( n ) { \n return ( { } ) ; \n} ; \nobjc8 . t6 = function ( n , s ) { \n return ( { } ) ; \n} ; \nobjc8 . t7 = function ( n ) { \n return n ; \n} ; \nobjc8 . t8 = function ( n ) { \n return n ; \n} ; \nobjc8 . t9 = [ [ ] , [ ] ] ; \nobjc8 . t10 = [ ( { } ) , ( { } ) ] ; \nobjc8 . t11 = [ function ( n , s ) { \n return s ; \n} ] ; \nobjc8 . t12 = { \n foo : ( { } ) \n} ; \nobjc8 . t13 = ( { \n f : function ( i , s ) { \n return s ; \n } \n} ) ; \nobjc8 . t14 = ( { \n a : [ ] \n} ) ; \nfunction c9t5 ( f ) { \n} \n; \nc9t5 ( function ( n ) { \n return ( { } ) ; \n} ) ; \nvar c10t5 = function ( ) { \n return function ( n ) { \n return ( { } ) ; \n } ; \n} ; \nvar C11t5 = ( function ( ) { \n function C11t5 ( f ) { \n } \n return C11t5 ; \n} ) ( ) ; \n; \nvar i = new C11t5 ( function ( n ) { \n return ( { } ) ; \n} ) ; \nvar c12t1 = ( function ( s ) { \n return s ; \n} ) ; \nvar c12t2 = ( { \n n : 1 \n} ) ; \nvar c12t3 = [ ] ; \nvar c12t4 = function ( ) { \n return ( { } ) ; \n} ; \nvar c12t5 = function ( n ) { \n return ( { } ) ; \n} ; \nvar c12t6 = function ( n , s ) { \n return ( { } ) ; \n} ; \nvar c12t7 = function ( n ) { \n return n ; \n} ; \nvar c12t8 = function ( n ) { \n return n ; \n} ; \nvar c12t9 = [ [ ] , [ ] ] ; \nvar c12t10 = [ ( { } ) , ( { } ) ] ; \nvar c12t11 = [ function ( n , s ) { \n return s ; \n} ] ; \nvar c12t12 = { \n foo : ( { } ) \n} ; \nvar c12t13 = ( { \n f : function ( i , s ) { \n return s ; \n } \n} ) ; \nvar c12t14 = ( { \n a : [ ] \n} ) ; \nfunction EF1 ( a , b ) { \n return a + b ; \n} \nvar efv = EF1 ( 1 , 2 ) ; \nfunction Point ( x , y ) { \n this . x = x ; \n this . y = y ; \n return this ; \n} \nPoint . origin = new Point ( 0 , 0 ) ; \nPoint . prototype . add = function ( dx , dy ) { \n return new Point ( this . x + dx , this . y + dy ) ; \n} ; \nPoint . prototype = { \n x : 0 , \n y : 0 , \n add : function ( dx , dy ) { \n return new Point ( this . x + dx , this . y + dy ) ; \n } \n} ; \nvar x = { } ; \n/ / # sourceMappingURL = contextualTyping . js . map
0 commit comments