add #1168 regression test
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
function test(x: string = "hi"): string {
|
||||
return x;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
function test() {
|
||||
var x = arguments[0] === undefined ? "hi" : arguments[0];
|
||||
|
||||
return x;
|
||||
}
|
||||
Reference in New Issue
Block a user