accept updated baseline reference following addition of test for const enum comment suppression

This commit is contained in:
Stan Thomas 2015-02-02 18:10:18 -05:00
parent 79e3bedb36
commit c1087ae0a9
2 changed files with 27 additions and 0 deletions

View file

@ -86,6 +86,11 @@ module m1 {
/// this is x
declare var x;
/** const enum member value comment (generated by TS) */
const enum color { red, green, blue }
var shade: color = color.green;
//// [commentsdoNotEmitComments.js]
@ -129,6 +134,7 @@ var m1;
})();
m1.b = b;
})(m1 || (m1 = {}));
var shade = 1;
//// [commentsdoNotEmitComments.d.ts]
@ -161,3 +167,9 @@ declare module m1 {
}
}
declare var x: any;
declare const enum color {
red = 0,
green = 1,
blue = 2,
}
declare var shade: color;

View file

@ -151,3 +151,18 @@ module m1 {
declare var x;
>x : any
/** const enum member value comment (generated by TS) */
const enum color { red, green, blue }
>color : color
>red : color
>green : color
>blue : color
var shade: color = color.green;
>shade : color
>color : color
>color.green : color
>color : typeof color
>green : color