Skip to content

Commit 2b96246

Browse files
committed
Update/add baselines for jsdoc/emitter changes
1 parent b14d7c7 commit 2b96246

File tree

76 files changed

+219
-161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+219
-161
lines changed

tests/baselines/reference/arrowFunctionErrorSpan.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ f(// comment 1
8383
// comment 2
8484
function () {
8585
// comment 4
86-
});
86+
}
87+
// comment 5
88+
);
8789
// body is not a block
8890
f(function (_) { return 1 +
8991
2; });

tests/baselines/reference/augmentExportEquals1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ define(["require", "exports"], function (require, exports) {
3232
//// [file3.js]
3333
define(["require", "exports", "./file2"], function (require, exports) {
3434
"use strict";
35-
var a; // should not work
36-
});
35+
var a;
36+
}); // should not work

tests/baselines/reference/augmentExportEquals1_1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ define(["require", "exports"], function (require, exports) {
2929
//// [file3.js]
3030
define(["require", "exports", "file2"], function (require, exports) {
3131
"use strict";
32-
var a; // should not work
33-
});
32+
var a;
33+
}); // should not work

tests/baselines/reference/augmentExportEquals2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ define(["require", "exports"], function (require, exports) {
3131
//// [file3.js]
3232
define(["require", "exports", "./file2"], function (require, exports) {
3333
"use strict";
34-
var a; // should not work
35-
});
34+
var a;
35+
}); // should not work

tests/baselines/reference/augmentExportEquals2_1.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ define(["require", "exports"], function (require, exports) {
2929
//// [file3.js]
3030
define(["require", "exports", "file2"], function (require, exports) {
3131
"use strict";
32-
var a; // should not work
33-
});
32+
var a;
33+
}); // should not work

tests/baselines/reference/augmentedTypesExternalModule1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ define(["require", "exports"], function (require, exports) {
1313
c5.prototype.foo = function () { };
1414
return c5;
1515
}());
16-
});
16+
}); // should be ok everywhere

tests/baselines/reference/blockScopedFunctionDeclarationInStrictModule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ define(["require", "exports"], function (require, exports) {
1414
foo(); // ok
1515
}
1616
return foo;
17-
});
17+
}); // not ok

tests/baselines/reference/callOverloads1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ var Foo = (function () {
2222
function Foo(x) {
2323
// WScript.Echo("Constructor function has executed");
2424
}
25-
Foo.prototype.bar1 = function () { };
25+
Foo.prototype.bar1 = function () { /*WScript.Echo("bar1");*/ };
2626
return Foo;
2727
}());
2828
function F1(a) { return a; }

tests/baselines/reference/callOverloads2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var Foo = (function () {
3030
function Foo(x) {
3131
// WScript.Echo("Constructor function has executed");
3232
}
33-
Foo.prototype.bar1 = function () { };
33+
Foo.prototype.bar1 = function () { /*WScript.Echo("bar1");*/ };
3434
return Foo;
3535
}());
3636
function F1(s) { return s; } // error

tests/baselines/reference/callOverloads3.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var Foo = (function () {
2323
function Foo(x) {
2424
// WScript.Echo("Constructor function has executed");
2525
}
26-
Foo.prototype.bar1 = function () { };
26+
Foo.prototype.bar1 = function () { /*WScript.Echo("bar1");*/ };
2727
return Foo;
2828
}());
2929
//class Foo(s: String);

0 commit comments

Comments
 (0)