add #1168 regression test
This commit is contained in:
parent
87ce4b9cd8
commit
afd95cf663
@ -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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user