Accept new baselines

Baselines print worse because 2.8 is missing improvements in type
printing and symbol structure.
This commit is contained in:
Nathan Shively-Sanders
2018-05-15 12:24:11 -07:00
parent 2d7efb35b1
commit acd7f81d0e

View File

@@ -1,23 +1,23 @@
=== tests/cases/conformance/salsa/a.js ===
// #24131
const a = {};
>a : { [x: string]: any; d: typeof d; }
>{} : { [x: string]: any; d: typeof d; }
>a : { [x: string]: any; d: typeof (Anonymous function); }
>{} : { [x: string]: any; d: typeof (Anonymous function); }
a.d = function() {};
>a.d = function() {} : typeof d
>a.d : typeof d
>a : { [x: string]: any; d: typeof d; }
>d : typeof d
>function() {} : typeof d
>a.d = function() {} : typeof (Anonymous function)
>a.d : typeof (Anonymous function)
>a : { [x: string]: any; d: typeof (Anonymous function); }
>d : typeof (Anonymous function)
>function() {} : typeof (Anonymous function)
=== tests/cases/conformance/salsa/b.js ===
a.d.prototype = {};
>a.d.prototype = {} : { [x: string]: any; }
>a.d.prototype : { [x: string]: any; }
>a.d : typeof d
>a : { [x: string]: any; d: typeof d; }
>d : typeof d
>a.d : typeof (Anonymous function)
>a : { [x: string]: any; d: typeof (Anonymous function); }
>d : typeof (Anonymous function)
>prototype : { [x: string]: any; }
>{} : { [x: string]: any; }